We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81fd4be commit 396b13aCopy full SHA for 396b13a
layouts/ListLayoutWithTags.tsx
@@ -100,7 +100,7 @@ export default function ListLayoutWithTags({
100
{sortedTags.map((t) => {
101
return (
102
<li key={t} className="my-3">
103
- {pathname.split('/tags/')[1] === slug(t) ? (
+ {decodeURI(pathname.split('/tags/')[1]) === slug(t) ? (
104
<h3 className="inline px-3 py-2 text-sm font-bold uppercase text-primary-500">
105
{`${t} (${tagCounts[t]})`}
106
</h3>
0 commit comments