make tag lower for icons

This commit is contained in:
Luke Smith 2022-07-01 17:30:59 -04:00
parent a88176dd82
commit a56d5dafb2

View File

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