forked from mirror/Mainroad
commit
f9def2e4a6
1 changed files with 6 additions and 6 deletions
|
@ -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 }}
|
Loading…
Add table
Reference in a new issue