hugo-stanley/layouts/partials/note-labels.html
2020-04-28 16:50:15 +02:00

8 lines
295 B
HTML

{{- if or .Params.categories .Params.tags -}}
<ul class="note labels tag-list">
{{- range .Params.tags -}}
{{- $url := print "/tags/" (. | urlize) "/" -}}
<li><a class="tag" href="{{- $url | relLangURL -}}">{{- . -}}</a></li>
{{- end -}}
</ul>
{{- end -}}