wizard

placeholder description
git clone git@git.shmage.xyz/wizard.git
Log | Files | Refs | README

commit ec3b9b84d464077f75236a9f4219078a2890cefb
parent 6a847ca683dcbeb71be4d30b6f96bd7b0442132f
Author: vimux <vimux@protonmail.com>
Date:   Sun, 13 Oct 2019 16:24:55 -0400

Fix tags: don't create empty block w/o tags

Diffstat:
Mlayouts/_default/single.html | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/layouts/_default/single.html b/layouts/_default/single.html @@ -6,13 +6,15 @@ <div> {{ .Content }} </div> + {{ with .Params.tags }} <div> <ul id="tags"> - {{ range .Params.tags }} + {{ range . }} <li><a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}">{{ . }}</a></li> {{ end }} </ul> </div> + {{ end }} <div> {{ template "_internal/disqus.html" . }} </div>