hugo-stanley/layouts/partials/note-labels.html
2020-03-03 18:56:59 +01:00

8 lines
283 B
HTML

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