mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2026-11-10 05:32:05 -06:00
Add meta tags for author, and don't allow old author param
This commit is contained in:
3 files changed
+12
-11
No files matched your search
@@ -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 }}
|
||||
|
||||
|
||||
Reference in new issue
Block a user