Skip to content

Commit 636a233

Browse files
authored
fix(code-quality): add base tag to resolve Giscus discussion link issue (#366)
- Add base href="/code-quality/" to fix incorrect link generation in GitHub Discussions - Giscus was incorrectly parsing links in /code-quality/code/ structure - Base tag ensures all relative links are correctly resolved with the module's base path
1 parent efb14f8 commit 636a233

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

fundamentals/code-quality/.vitepress/shared.mts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ export const shared = defineConfig({
8080

8181
head.push(["meta", { property: "og:title", content: title }]);
8282
head.push(["meta", { property: "og:description", content: description }]);
83+
head.push(["base", { href: "/code-quality/" }]);
8384

8485
return head;
8586
},

0 commit comments

Comments
 (0)