From 9f9772fa9cbc812a2b3c0048aef1fc7b2ddc0a5b Mon Sep 17 00:00:00 2001 From: digitalcraftsman Date: Tue, 12 Apr 2016 19:06:29 +0200 Subject: [PATCH] Add tags to post Fixes #11 --- layouts/_default/single.html | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 4f9b1ae..f210952 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -6,7 +6,17 @@

{{ .Title }}

-

{{ .Date.Format "January 2, 2006" }}

+

+ {{ .Date.Format "January 2, 2006" }} +
+ {{ with .Params.tags }} + {{ if ge (len .) 1 }} + {{ range . }} + {{ . }} + {{ end }} + {{ end }} + {{ end}} +

{{ .Content }}