Skip to content

Commit ee2bf68

Browse files
HeyItsGilbertclaude
andcommitted
fix(theme): correct tag link URL on article pages
The single-article template built tag hrefs from the string literal " /tags/" (leading space), so relURL encoded the space and produced /%20/tags/<tag>/ links. Removed the space to match the list template. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 75c5fc5 commit ee2bf68

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • themes/powershell-community/layouts/_default

themes/powershell-community/layouts/_default/single.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ <h3 class="font-semibold text-gray-900">Listen to this Episode</h3>
130130
<h3 class="text-lg font-semibold text-gray-900 mb-3">Tags</h3>
131131
<div class="flex flex-wrap gap-2">
132132
{{ range . }}
133-
<a href="{{ " /tags/" | relURL }}{{ . | urlize }}/"
133+
<a href="{{ "/tags/" | relURL }}{{ . | urlize }}/"
134134
class="inline-block bg-gray-100 text-gray-700 px-3 py-1 rounded-full text-sm font-medium hover:bg-blue-100 hover:text-blue-700 transition-colors duration-200">
135135
#{{ . }}
136136
</a>

0 commit comments

Comments
 (0)