mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-11-25 03:51:37 +01:00
c0e7be6534
Moves "Translations" word out of `ul`
20 lines
613 B
HTML
20 lines
613 B
HTML
{{- if .IsTranslated -}}
|
|
{{- if (ne .Layout "search") }}
|
|
{{- if or .Params.author site.Params.author (.Param "ShowReadingTime") (not .Date.IsZero) }} | {{- end -}}
|
|
{{- end }}
|
|
{{- i18n "translations" | default "Translations" }}:
|
|
<ul class="i18n_list">
|
|
{{- range .Translations }}
|
|
<li>
|
|
<a href="{{ .Permalink }}">
|
|
{{- if (and site.Params.displayFullLangName (.Language.LanguageName)) }}
|
|
{{- .Language.LanguageName | emojify -}}
|
|
{{- else }}
|
|
{{- .Lang | title -}}
|
|
{{- end -}}
|
|
</a>
|
|
</li>
|
|
{{- end }}
|
|
</ul>
|
|
{{- end -}}
|