theme(fix): move by.html into single.html

Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
This commit is contained in:
Patrick Kollitsch 2025-01-31 08:22:40 +07:00
parent 294ab0b04b
commit f672979149
No known key found for this signature in database
GPG Key ID: 01A2661D61A772CA
2 changed files with 3 additions and 4 deletions

View File

@ -1,3 +0,0 @@
{{- if eq .Lang "de" "en" "es" "fr" "it" "no" "pt" -}}
{{- i18n "by" -}}
{{ end -}}

View File

@ -20,7 +20,9 @@
</h1>
{{ with .Params.author | default .Site.Params.author }}
<p class="tracked">
{{ $.Render "by" }} <strong>
{{- if eq .Lang "de" "en" "es" "fr" "it" "no" "pt" -}}
{{- i18n "by" -}}
{{ end -}} <strong>
{{- if reflect.IsSlice . -}}
{{ delimit . ", " | markdownify }}
{{- else -}}