aboutsummaryrefslogtreecommitdiff
path: root/examples/docs/src/pages/getting-started.md
diff options
context:
space:
mode:
Diffstat (limited to 'examples/docs/src/pages/getting-started.md')
-rw-r--r--examples/docs/src/pages/getting-started.md9
1 files changed, 4 insertions, 5 deletions
diff --git a/examples/docs/src/pages/getting-started.md b/examples/docs/src/pages/getting-started.md
index e034a47ca..eb2826dbc 100644
--- a/examples/docs/src/pages/getting-started.md
+++ b/examples/docs/src/pages/getting-started.md
@@ -1,9 +1,8 @@
---
+title: Getting Started
layout: ../layouts/Main.astro
---
-# Getting Started
-
This template already provides your pages with a side bar navigation (on the left) for your pages, and a content navigation (on the right) for your sections.
## Page navigation
@@ -14,10 +13,10 @@ The page navigation, through the side bar on the left, needs to be manually upda
export const sidebar = [
{
text: 'Introduction',
- link: '/',
+ link: '', // No leading slash needed, so this links to the homepage
children: [
- { text: 'Getting Started', link: '/getting-started' },
- { text: 'Example', link: '/example' },
+ { text: 'Getting Started', link: 'getting-started' },
+ { text: 'Example', link: 'example' },
],
},
];