add tag icons. (not sure about this yet).

This commit is contained in:
Luke Smith
2022-05-26 20:47:52 -04:00
parent 95133388ea
commit bac8117f60
2 changed files with 79 additions and 1 deletions

View File

@@ -5,7 +5,7 @@
See related:</br>
{{ range $k, $v := .Params.tags }}
{{ $url := printf "tags/%s" (. | urlize | lower) }}
<a href="{{ $url | absURL }}">{{ . }}</a>
<a id="tag_{{ . }}" href="{{ $url | absURL }}">{{ . | title }}</a>
{{ if lt $k (sub $tagsLen 1) }}&middot;{{ end }}
{{ end }}
</div>