Hide tags if there are none

This commit is contained in:
Jez Cope 2021-09-27 19:27:36 +01:00
parent ff711a80e4
commit 1dba4581e8
1 changed files with 2 additions and 2 deletions

View File

@ -1,8 +1,8 @@
{{ if . }}
<div class="page-tags">
<strong>Tags:</strong>
{{ range . }}
<a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}">[{{ . }}]</a>
{{ else }}
<em>None</em>
{{ end }}
</div>
{{ end }}