2021-02-06 13:20:19 -05:00
|
|
|
{{- if .IsTranslated -}}
|
2021-03-30 08:37:36 -04:00
|
|
|
{{- if (ne .Layout "search") }}
|
2021-02-06 13:20:19 -05:00
|
|
|
{{- if or .Params.author $.Site.Params.author (.Param "ShowReadingTime") (not .Date.IsZero) }} | {{- end -}}
|
|
|
|
{{- end }}
|
|
|
|
<ul class="i18n_list">
|
2021-03-30 08:37:36 -04:00
|
|
|
{{- i18n "translations" | default "Translations" }}:
|
2021-02-06 13:20:19 -05:00
|
|
|
{{- range .Translations }}
|
|
|
|
<li>
|
|
|
|
<a href="{{ .Permalink }}">
|
|
|
|
{{- if (and $.Site.Params.displayFullLangName (.Language.LanguageName)) }}
|
2021-03-31 02:19:28 -04:00
|
|
|
{{- .Language.LanguageName | emojify -}}
|
2021-02-06 13:20:19 -05:00
|
|
|
{{- else }}
|
2021-05-01 12:43:54 -04:00
|
|
|
{{- .Lang | title -}}
|
2021-02-06 13:20:19 -05:00
|
|
|
{{- end -}}
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{{- end }}
|
|
|
|
</ul>
|
2021-03-30 08:37:36 -04:00
|
|
|
{{- end -}}
|