mirror of
https://github.com/hyzendust/hyzendust.github.io.git
synced 2026-02-15 00:01:11 +01:00
Fix: remove submodule
This commit is contained in:
13
themes/hugo-theme-yue/layouts/_partials/page/author.html
Normal file
13
themes/hugo-theme-yue/layouts/_partials/page/author.html
Normal file
@@ -0,0 +1,13 @@
|
||||
{{ $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 -}}
|
||||
Reference in New Issue
Block a user