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 --- layouts/stream/list.html | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) (limited to 'layouts/stream') diff --git a/layouts/stream/list.html b/layouts/stream/list.html index bf83b80..a45ef0b 100644 --- a/layouts/stream/list.html +++ b/layouts/stream/list.html @@ -1,11 +1,23 @@ {{ define "main" }} -{{ .Content }} - {{ range where site.RegularPages "Section" "stream" }}

{{ .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 }} + {{ end }} {{ end }} -- cgit v1.2.3