diff --git a/.changeset/big-ghosts-prove.md b/.changeset/big-ghosts-prove.md
new file mode 100644
index 000000000..201a14917
--- /dev/null
+++ b/.changeset/big-ghosts-prove.md
@@ -0,0 +1,5 @@
+---
+'@astrojs/docs-template': patch
+---
+
+Fix issues around sidebar and titles
diff --git a/docs-www/src/components/SiteSidebar.astro b/docs-www/src/components/SiteSidebar.astro
index 7279d9aea..0fbad0c83 100644
--- a/docs-www/src/components/SiteSidebar.astro
+++ b/docs-www/src/components/SiteSidebar.astro
@@ -7,10 +7,10 @@ import { sidebar } from '../config.ts';
{sidebar.map(category => (
diff --git a/docs-www/src/config.ts b/docs-www/src/config.ts
index 113301367..5ec22a02b 100644
--- a/docs-www/src/config.ts
+++ b/docs-www/src/config.ts
@@ -1,12 +1,10 @@
export const sidebar = [
{
text: 'Introduction',
+ link: '', // No leading slash needed, so this links to the homepage
children: [
- {
- text: 'What is Astro?',
- link: '/',
- },
- { text: 'Example', link: '/example' },
+ { text: 'Getting Started', link: 'getting-started' },
+ { text: 'Example', link: 'example' },
],
},
];
diff --git a/docs-www/src/layouts/Main.astro b/docs-www/src/layouts/Main.astro
index 37efc2f37..77407918a 100644
--- a/docs-www/src/layouts/Main.astro
+++ b/docs-www/src/layouts/Main.astro
@@ -17,6 +17,9 @@ editHref = `https://github.com/snowpackjs/astro/tree/main/examples/doc/src/pages
+