fixed line for pages without tags

This commit is contained in:
kimcc 2020-02-25 01:27:09 -06:00
parent a34386387c
commit a4a6ec7e94

View File

@ -9,8 +9,8 @@
{{ template "_internal/disqus.html" . }} {{ template "_internal/disqus.html" . }}
<div class="page-footer"> <div class="page-footer">
<hr class="footer-divider">
{{if .Params.tags}} {{if .Params.tags}}
<hr class="footer-divider">
{{ range .Params.tags }} {{ range .Params.tags }}
<a class="tag" href="/tags/{{ . | urlize }}">#{{.}}</a> <a class="tag" href="/tags/{{ . | urlize }}">#{{.}}</a>
{{ end }} {{ end }}