mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2024-12-25 22:45:53 -05:00
0f4dc88c63
so that emojify could work
20 lines
624 B
HTML
20 lines
624 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 -}}
|
|
{{- else }}
|
|
{{- .Lang | humanize -}}
|
|
{{- end -}}
|
|
</a>
|
|
</li>
|
|
{{- end }}
|
|
</ul>
|
|
{{- end -}}
|