From ee3e93972c9a86d6eb86015f93894af3e40f966b Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Mon, 6 Jan 2020 21:17:03 +0100 Subject: Show tags as article metadata --- layouts/_default/single.html | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'layouts/_default/single.html') diff --git a/layouts/_default/single.html b/layouts/_default/single.html index bde04ef..fc7edb3 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -3,6 +3,13 @@

{{ .Title | markdownify }}

{{ with .Params.author }}

{{ . }}

{{ end }} {{ if (gt .Params.date 0) }}

{{ .Date.Format "2006-01-02" }}

{{ end }} +

+ {{ range $i := (slice "categories" "tags") }} + {{ with ($.Param $i) }} + {{ $i | title }}: {{ range $k := . }}{{$k}} {{ end }} + {{ end }} + {{ end }} +

-- cgit 1.4.1