Override date and author displays, support custom author per post.
This commit is contained in:
parent
30dd87ef88
commit
78859c7ccc
2 changed files with 22 additions and 0 deletions
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>
|
Loading…
Add table
Add a link
Reference in a new issue