Merge pull request #216 from dancwilliams/master
Updated post_meta.html to format the Author properly in else clause
This commit is contained in:
commit
6c78cf4325
1 changed files with 3 additions and 1 deletions
|
|
@ -12,7 +12,9 @@
|
|||
| <i class="fas fa-book"></i> {{ .WordCount }} {{ i18n "words" }}
|
||||
{{ end }}
|
||||
{{ if .Params.author }}
|
||||
| <i class="fas fa-user"></i> {{ .Params.author | safeHTML }}{{ else }}{{ .Site.Author.name | safeHTML }}
|
||||
| <i class="fas fa-user"></i> {{ .Params.author | safeHTML }}
|
||||
{{ else }}
|
||||
| <i class="fas fa-user"></i> {{ .Site.Author.name | safeHTML }}
|
||||
{{ end }}
|
||||
{{- if .Site.Params.staticman -}}
|
||||
| <i class="fas fa-comment"></i>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue