From 241bad276058bfe617788a3d70b559a642f085e1 Mon Sep 17 00:00:00 2001 From: Matt Kohls Date: Mon, 27 Jan 2020 01:01:55 -0500 Subject: Posts now show tags, removing .URL (depreciated) --- layouts/_default/list.html | 2 +- layouts/_default/single.html | 9 +++++++++ layouts/index.html | 2 +- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 249ea3d..d1ed05f 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -16,7 +16,7 @@ diff --git a/layouts/_default/single.html b/layouts/_default/single.html index cb76f1a..cf7bb07 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -10,6 +10,15 @@

{{ .Title | markdownify }}

+
+
+ {{ range $i := (slice "categories" "tags") }} + {{ with ($.Param $i) }} + {{ $i | title }}: {{ range $k := . }}{{$k}} {{ end }}
+ {{ end }} + {{ end }} +
+
diff --git a/layouts/index.html b/layouts/index.html index e0c9263..be384db 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -19,7 +19,7 @@ -- cgit v1.2.3