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') 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 @@
+ {{ range $i := (slice "categories" "tags") }} + {{ with ($.Param $i) }} + {{ $i | title }}: {{ range $k := . }}{{$k}} {{ end }} + {{ end }} + {{ end }} +