diff options
author | Oscar Najera <hi@oscarnajera.com> | 2023-09-06 23:20:44 +0200 |
---|---|---|
committer | Oscar Najera <hi@oscarnajera.com> | 2023-09-06 23:20:44 +0200 |
commit | cd710363419f5144062707e8cd170278052924fa (patch) | |
tree | 3668967825c91c87e4fe153e45802fee1b546f1c /layouts/partials/metadata.html | |
parent | 2a6447afb20ae0405ad676a07a6e3bcabc2a29ec (diff) | |
download | hugo-minimalist-theme-cd710363419f5144062707e8cd170278052924fa.tar.gz hugo-minimalist-theme-cd710363419f5144062707e8cd170278052924fa.tar.bz2 hugo-minimalist-theme-cd710363419f5144062707e8cd170278052924fa.zip |
Author config
Diffstat (limited to 'layouts/partials/metadata.html')
-rw-r--r-- | layouts/partials/metadata.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/metadata.html b/layouts/partials/metadata.html index 77373f9..f4e48e8 100644 --- a/layouts/partials/metadata.html +++ b/layouts/partials/metadata.html @@ -1,7 +1,7 @@ {{ $dateTime := .PublishDate.Format "2006-01-02" }} {{ $dateFormat := .Site.Params.dateFormat | default "Jan 2, 2006" }} -<p class="f6 lh-copy mv0 ph4 pv2">By {{ range .Params.authors }} {{ . }} {{ end }} +<p class="f6 lh-copy mv0 ph4 pv2">By {{ range .Params.author }} {{ . }} {{ end }} <br/> <i class="far fa-calendar"></i> <time class="f6 lh-copy mv0" datetime="{{ $dateTime }}">{{ .PublishDate.Format $dateFormat }}</time> |