27
0
Fork 1
forked from mirror/Mainroad

Merge pull request from natrius/repairAuthor

Repair author
This commit is contained in:
Mansoor Barri 2025-01-14 16:11:45 +00:00 committed by GitHub
commit f9def2e4a6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,6 +1,6 @@
{{- if .Site.Params.Author.name -}}
<div class="meta__item-author meta__item">
{{ partial "svg/author.svg" (dict "class" "meta__icon") -}}
<span class="meta__text">{{ .Site.Params.Author.name }}</span>
</div>
{{- end -}}
{{- with .GetTerms "authors" }}
{{- range . }}
{{ partial "svg/author.svg" (dict "class" "meta__icon") }}
<span class="meta__text">{{ .Title }}</span>
{{- end }}
{{- end }}