mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2026-05-21 11:05:49 +00:00
style(translation_list): improve indentation and use .Param
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
{{- if .IsTranslated -}}
|
||||
{{- if (ne .Layout "search") }}
|
||||
{{- if or .Params.author site.Params.author (.Param "ShowReadingTime") (not .Date.IsZero) }} | {{- end -}}
|
||||
{{- if or (.Param "author") (.Param "ShowReadingTime") (not .Date.IsZero) }}
|
||||
{{- printf " | " | safeHTML -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
<span>{{- i18n "translations" | default "Translations" }}:</span>
|
||||
<ul class="i18n_list">
|
||||
|
||||
Reference in New Issue
Block a user