Add meta tags for author, and don't allow old author param

This commit is contained in:
2021-10-27 19:51:46 -05:00
parent fe4d0979d6
commit 168c9d93ad
3 changed files with 12 additions and 11 deletions

View File

@ -20,20 +20,10 @@
{{ end }}
{{ end }}
{{ $authorString := "" }}
{{ with .Params.authors }}
{{ $authorString = delimit . ", " }}
{{ else }}
{{ with .Params.author }}
{{ $authorString = . }}
{{ end }}
{{ end }}
{{ with $authorString }}
<span class="post-meta-item">
{{ partial "icon.html" "user-circle" }}
{{ . }}
{{ delimit . ", " }}
</span>
{{ end }}