Skip to content

Commit

Permalink
Show post author if provided
Browse files Browse the repository at this point in the history
  • Loading branch information
clente committed Oct 17, 2023
1 parent bf804a0 commit 88edea7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions layouts/_default/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ <h1>{{ .Title }}</h1>
<time datetime='{{ .Date.Format "2006-01-02" }}' pubdate>
{{ .Date.Format (default "2006-01-02" .Site.Params.dateFormat) }}
</time>
{{ with .Params.author }}· {{.}}{{ end }}
</i>
</p>
{{ end }}
Expand Down

0 comments on commit 88edea7

Please sign in to comment.