diff options
author | Caio Lente <7017340+clente@users.noreply.github.com> | 2023-10-17 15:49:40 -0300 |
---|---|---|
committer | Caio Lente <7017340+clente@users.noreply.github.com> | 2023-10-17 15:49:40 -0300 |
commit | 88edea7e8ab507cb2f48d0a3cb64b6c9fad8409e (patch) | |
tree | cfd29065cdc27fb7070bfa7bba4d169d219a9b98 | |
parent | bf804a08146afba3530671b4a99f31a9f5ae577d (diff) | |
download | hugo-bearcub-88edea7e8ab507cb2f48d0a3cb64b6c9fad8409e.tar.gz hugo-bearcub-88edea7e8ab507cb2f48d0a3cb64b6c9fad8409e.tar.bz2 |
Show post author if provided
-rw-r--r-- | layouts/_default/single.html | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 30de616..371a382 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -6,6 +6,7 @@ <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 }} |