Hide tags if there are none
This commit is contained in:
parent
ff711a80e4
commit
1dba4581e8
|
@ -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 }}
|
||||
|
|
Loading…
Reference in New Issue