Skip to content

Commit 493cfba

Browse files
authored
fix(tags): update tag link to use the correct tag title instead of page title (#812)
1 parent 5846274 commit 493cfba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

layouts/_partials/tags.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
{{- range $tag := $context.Params.tags -}}
44
{{- with $context.Site.GetPage (printf "/tags/%s" $tag) -}}
5-
<a class="hx:inline-block hx:whitespace-nowrap hx:mr-2 hx:text-gray-500 hx:hover:text-gray-900 hx:dark:text-gray-400 hx:dark:hover:text-gray-100 hx:contrast-more:text-gray-800 hx:contrast-more:dark:text-gray-50" href="{{ .RelPermalink }}">#{{ .Title }}</a>
5+
<a class="hx:inline-block hx:whitespace-nowrap hx:mr-2 hx:text-gray-500 hx:hover:text-gray-900 hx:dark:text-gray-400 hx:dark:hover:text-gray-100 hx:contrast-more:text-gray-800 hx:contrast-more:dark:text-gray-50" href="{{ .RelPermalink }}">#{{ $tag }}</a>
66
{{- end -}}
77
{{- end -}}

0 commit comments

Comments
 (0)