mirror of
https://github.com/hyzendust/hyzendust.github.io.git
synced 2026-02-15 00:01:11 +01:00
13 lines
354 B
HTML
13 lines
354 B
HTML
{{ $author := default site.Params.author .Params.author }}
|
|
{{- with $author -}}
|
|
{{- /* string or []string */ -}}
|
|
{{- $authorType := printf "%T" $author -}}
|
|
<span class="author">
|
|
{{- if eq $authorType "string" -}}
|
|
{{- . -}}
|
|
{{- else if eq $authorType "[]string" -}}
|
|
{{- delimit $author (i18n "authorDelimiter") -}}
|
|
{{- end -}}
|
|
</span>
|
|
<br>
|
|
{{- end -}} |