From 113d4e53416ddf42212da6f217670bdc6f0c9dd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=93scar=20N=C3=A1jera?= Date: Sat, 1 Jan 2022 21:03:20 +0100 Subject: Import new minimalist design --- layouts/partials/metadata.html | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 layouts/partials/metadata.html (limited to 'layouts/partials/metadata.html') diff --git a/layouts/partials/metadata.html b/layouts/partials/metadata.html new file mode 100644 index 0000000..77373f9 --- /dev/null +++ b/layouts/partials/metadata.html @@ -0,0 +1,24 @@ +{{ $dateTime := .PublishDate.Format "2006-01-02" }} +{{ $dateFormat := .Site.Params.dateFormat | default "Jan 2, 2006" }} + +

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

-- cgit v1.2.3