blog/layouts/partials/tag-link.html

4 lines
157 B
HTML
Raw Permalink Normal View History

2022-06-25 08:47:06 +01:00
{{ $baseUrl := absURL "tags" }}
{{ $tagName := urlize . }}
{{ $tagUrl := printf "%s/%s" $baseUrl $tagName }}
<a href="{{ $tagUrl }}">{{ $tagName }}</a>&nbsp;