~gg/blog-theme

ec3b9b84d464077f75236a9f4219078a2890cefb — vimux 2 years ago 6a847ca
Fix tags: don't create empty block w/o tags
1 files changed, 3 insertions(+), 1 deletions(-)

M layouts/_default/single.html
M layouts/_default/single.html => layouts/_default/single.html +3 -1
@@ 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>