diff options
Diffstat (limited to 'layouts/partials/metadata.html')
-rw-r--r-- | layouts/partials/metadata.html | 40 |
1 files changed, 24 insertions, 16 deletions
diff --git a/layouts/partials/metadata.html b/layouts/partials/metadata.html index f4e48e8..baab03a 100644 --- a/layouts/partials/metadata.html +++ b/layouts/partials/metadata.html @@ -1,24 +1,32 @@ {{ $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.author }} {{ . }} {{ end }} -<br/> -<i class="far fa-calendar"></i> -<time class="f6 lh-copy mv0" datetime="{{ $dateTime }}">{{ .PublishDate.Format $dateFormat }}</time> -| -{{ .ReadingTime }} mins read -{{ with .Params.tags }} -| <i class="fas fa-tags"></i> + +<p class="f6 lh-copy mv0 ph4 pv2"> + By + {{ with .Params.author }} + <span class="author"> — {{ delimit . ", " }} </span> + {{ end }} + + + <br /> + <i class="far fa-calendar"></i> + <time datetime="{{ $dateTime }}"> + {{ .PublishDate.Format $dateFormat }} + </time> + | {{ .ReadingTime }} mins read + {{ with .Params.tags }} + | <i class="fas fa-tags"></i> {{ range . }} - {{ $href := print (absURL "tags/") (urlize .) }} - <a class="link underline light-gray" href="{{ $href }}">{{ . }}</a> + {{ $href := print (absURL "tags/") (urlize .) }} + <a class="link underline near-black" href="{{ $href }}">{{ . }}</a> {{ end }} -{{ end }} -{{ with .Params.categories }} -| <i class="fas fa-bookmark"></i> + {{ end }} + {{ with .Params.categories }} + | <i class="fas fa-bookmark"></i> {{ range . }} - {{ $href := print (absURL "tags/") (urlize .) }} - <a class="link underline light-gray" href="{{ $href }}">{{ . }}</a> + {{ $href := print (absURL "tags/") (urlize .) }} + <a class="link underline near-black" href="{{ $href }}">{{ . }}</a> {{ end }} -{{ end }} + {{ end }} </p> |