Override date and author displays, support custom author per post.
This commit is contained in:
9
layouts/partials/post_meta/author.html
Normal file
9
layouts/partials/post_meta/author.html
Normal file
@ -0,0 +1,9 @@
|
||||
<div class="meta__item-author meta__item">
|
||||
<span class="meta__text">
|
||||
{{- if .Params.author -}}
|
||||
by {{ .Params.author }}
|
||||
{{- else if .Site.Author.name -}}
|
||||
by {{ .Site.Author.name }}
|
||||
{{- end -}}
|
||||
</span>
|
||||
</div>
|
Reference in New Issue
Block a user