diff --git a/layouts/_default/search.html b/layouts/_default/search.html index 4d0c415c..8ad0bef4 100644 --- a/layouts/_default/search.html +++ b/layouts/_default/search.html @@ -15,22 +15,7 @@ {{- end }} {{- if not (.Param "hideMeta") }}
{{- end}} diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 9716ad14..658d79cc 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -31,24 +31,8 @@ {{- end }} {{- if not (.Param "hideMeta") }} {{- end}} diff --git a/layouts/partials/translation_list.html b/layouts/partials/translation_list.html new file mode 100644 index 00000000..a2c2d86c --- /dev/null +++ b/layouts/partials/translation_list.html @@ -0,0 +1,19 @@ +{{- if .IsTranslated -}} +{{- if (ne .Layout "search")}} +{{- if or .Params.author $.Site.Params.author (.Param "ShowReadingTime") (not .Date.IsZero) }} | {{- end -}} +{{- end }} +