We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ebebd4 commit a947f8eCopy full SHA for a947f8e
1 file changed
extension/components/SocialIcons.astro
@@ -3,13 +3,13 @@ import Default from "@astrojs/starlight/components/SocialIcons.astro"
3
import metadata from "../package.json" with { type: "json" }
4
5
const { origin, hostname, pathname } = new URL(metadata.homepage)
6
-const basedir = import.meta.env.PROD ? pathname : "/"
+const basedir = import.meta.env.PROD ? pathname : ""
7
8
// It's an example of component customization
9
// https://starlight.astro.build/guides/overriding-components
10
---
11
12
-<a href={`${basedir}changelog`} style="text-decoration: none">
+<a href={`${basedir}/changelog`} style="text-decoration: none">
13
<strong>v{metadata.version} (current)</strong>
14
</a>
15
0 commit comments