Display post author

This commit is contained in:
simon987
2019-05-14 22:26:17 -04:00
parent f16e743150
commit 0a43b0764b
6 changed files with 18 additions and 3 deletions

View File

@@ -32,6 +32,9 @@
{{ end }}
</p>
<h1>{{ if .Draft }}DRAFT: {{end}}{{ .Title }}</h1>
{{ if isset .Params "author" }}
<div class="post-author">by {{ .Params.author }}</divv>
{{ end }}
</div>
<div class="post-content">