hugo-stanley/layouts/partials/note-labels.html

8 lines
295 B
HTML
Raw Normal View History

2020-03-03 18:56:59 +01:00
{{- if or .Params.categories .Params.tags -}}
2020-04-28 16:50:15 +02:00
<ul class="note labels tag-list">
2020-03-03 18:56:59 +01:00
{{- range .Params.tags -}}
2020-04-28 16:50:15 +02:00
{{- $url := print "/tags/" (. | urlize) "/" -}}
<li><a class="tag" href="{{- $url | relLangURL -}}">{{- . -}}</a></li>
2020-03-03 18:56:59 +01:00
{{- end -}}
2020-04-28 16:50:15 +02:00
</ul>
2020-03-03 18:56:59 +01:00
{{- end -}}