Skip to content

Commit abcab5b

Browse files
committed
Silly temp Starlight patch to fix site title link
1 parent 55cabb4 commit abcab5b

2 files changed

Lines changed: 16 additions & 3 deletions

File tree

patches/@astrojs__starlight@0.6.0.patch

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
diff --git a/components/SiteTitle.astro b/components/SiteTitle.astro
2+
index 8b8982ab890ee003b5db94d2b0ccbf2566d2d2cc..4924ca216bdd7b235ff8d598002d79c388a79f2d 100644
3+
--- a/components/SiteTitle.astro
4+
+++ b/components/SiteTitle.astro
5+
@@ -23,7 +23,7 @@ if (config.logo) {
6+
if (err) throw new Error(err);
7+
}
8+
9+
-const href = pathWithBase(Astro.props.locale || '/');
10+
+const href = pathWithBase(Astro.props.locale || '' + '/getting-started/');
11+
---
12+
13+
<a {href} class="site-title flex">
114
diff --git a/schema.ts b/schema.ts
215
index b005f955a9b2f78a2dc8ce8d242f23f0ef413229..465510c44390dfb608158dc222bc43b16c76cb52 100644
316
--- a/schema.ts

pnpm-lock.yaml

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)