Skip to content

Commit af3d212

Browse files
authored
Correctly convert spaces in tags to dashes (#637)
Closes #84
1 parent acfcec4 commit af3d212

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

layouts/partials/posts/meta.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<div class="post-tags">
2121
<i class="fa-solid fa-tag"></i>
2222
{{- range .Params.tags -}}
23-
{{- $tag := lower . }}
23+
{{- $tag := urlize . }}
2424
<span class="post-tag"><a href="{{ path.Join "/tags/" $tag | relURL }}">#{{ $tag }}</a></span>
2525
{{- end -}}
2626
</div>

0 commit comments

Comments
 (0)