blog/layouts/partials/tag-link.html
2022-06-25 08:47:06 +01:00

4 lines
No EOL
157 B
HTML

{{ $baseUrl := absURL "tags" }}
{{ $tagName := urlize . }}
{{ $tagUrl := printf "%s/%s" $baseUrl $tagName }}
<a href="{{ $tagUrl }}">{{ $tagName }}</a>&nbsp;