mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2023-12-21 10:22:58 +01:00
20 lines
635 B
HTML
20 lines
635 B
HTML
{{- if .IsTranslated -}}
|
|
{{- if (ne .Layout "search") }}
|
|
{{- if or .Params.author $.Site.Params.author (.Param "ShowReadingTime") (not .Date.IsZero) }} | {{- end -}}
|
|
{{- end }}
|
|
<ul class="i18n_list">
|
|
{{- i18n "translations" | default "Translations" }}:
|
|
{{- range .Translations }}
|
|
<li>
|
|
<a href="{{ .Permalink }}">
|
|
{{- if (and $.Site.Params.displayFullLangName (.Language.LanguageName)) }}
|
|
{{- .Language.LanguageName | emojify | humanize -}}
|
|
{{- else }}
|
|
{{- .Lang | humanize -}}
|
|
{{- end -}}
|
|
</a>
|
|
</li>
|
|
{{- end }}
|
|
</ul>
|
|
{{- end -}}
|