From 4bbc7b9a7de0002173f38918cfd69a6e64d86e00 Mon Sep 17 00:00:00 2001 From: Oscar Najera Date: Fri, 13 Oct 2023 03:00:27 +0200 Subject: Post & metadata visibility --- layouts/partials/metadata.html | 40 ++++++++++++++++++++++++---------------- 1 file changed, 24 insertions(+), 16 deletions(-) (limited to 'layouts/partials/metadata.html') 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" }} -

By {{ range .Params.author }} {{ . }} {{ end }} -
- - -| -{{ .ReadingTime }} mins read -{{ with .Params.tags }} -| + +

+ By + {{ with .Params.author }} + — {{ delimit . ", " }} + {{ end }} + + +
+ + + | {{ .ReadingTime }} mins read + {{ with .Params.tags }} + | {{ range . }} - {{ $href := print (absURL "tags/") (urlize .) }} - {{ . }} + {{ $href := print (absURL "tags/") (urlize .) }} + {{ . }} {{ end }} -{{ end }} -{{ with .Params.categories }} -| + {{ end }} + {{ with .Params.categories }} + | {{ range . }} - {{ $href := print (absURL "tags/") (urlize .) }} - {{ . }} + {{ $href := print (absURL "tags/") (urlize .) }} + {{ . }} {{ end }} -{{ end }} + {{ end }}

-- cgit v1.2.3