mirror of
https://github.com/theNewDynamic/gohugo-theme-ananke.git
synced 2025-05-13 23:12:45 +00:00
theme(fix): move by.html into single.html
Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
This commit is contained in:
parent
294ab0b04b
commit
f672979149
@ -1,3 +0,0 @@
|
|||||||
{{- if eq .Lang "de" "en" "es" "fr" "it" "no" "pt" -}}
|
|
||||||
{{- i18n "by" -}}
|
|
||||||
{{ end -}}
|
|
@ -20,7 +20,9 @@
|
|||||||
</h1>
|
</h1>
|
||||||
{{ with .Params.author | default .Site.Params.author }}
|
{{ with .Params.author | default .Site.Params.author }}
|
||||||
<p class="tracked">
|
<p class="tracked">
|
||||||
{{ $.Render "by" }} <strong>
|
{{- if eq .Lang "de" "en" "es" "fr" "it" "no" "pt" -}}
|
||||||
|
{{- i18n "by" -}}
|
||||||
|
{{ end -}} <strong>
|
||||||
{{- if reflect.IsSlice . -}}
|
{{- if reflect.IsSlice . -}}
|
||||||
{{ delimit . ", " | markdownify }}
|
{{ delimit . ", " | markdownify }}
|
||||||
{{- else -}}
|
{{- else -}}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user