From f0bc6c93bda866045f8dfa4d7791c6e573b2ddf6 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Tue, 26 Jul 2022 07:34:30 +0100 Subject: added list of tags to bottom of post --- themes/problematic/layouts/_default/single.html | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'themes') diff --git a/themes/problematic/layouts/_default/single.html b/themes/problematic/layouts/_default/single.html index 8da12c7..57895ef 100644 --- a/themes/problematic/layouts/_default/single.html +++ b/themes/problematic/layouts/_default/single.html @@ -8,5 +8,20 @@

{{ .Title }}

{{ .Date.Format "Monday, 2 January 2006" }} + {{ .Content }} + + {{ if .Params.tags }} +
+ This post is tagged with: + {{ range .Params.tags }} + {{ . }} + {{ end }} + {{ else }} +
+ This post is untagged. +
+ {{ end }} +
+ {{ end }} -- cgit v1.2.3