summaryrefslogtreecommitdiff
path: root/examples/docs/src/pages/getting-started.md
diff options
context:
space:
mode:
authorGravatar Fred K. Schott <fkschott@gmail.com> 2021-06-14 12:45:33 -0700
committerGravatar GitHub <noreply@github.com> 2021-06-14 15:45:33 -0400
commit1437b42038bf5daa0ad9e9be41d25f04a8ec97d3 (patch)
tree5d8b63ceddeb6c3475f86441ee84ff365448a49f /examples/docs/src/pages/getting-started.md
parent40720b2c1e6db7d8df9d3f717cd5288363ed17a5 (diff)
downloadastro-1437b42038bf5daa0ad9e9be41d25f04a8ec97d3.tar.gz
astro-1437b42038bf5daa0ad9e9be41d25f04a8ec97d3.tar.zst
astro-1437b42038bf5daa0ad9e9be41d25f04a8ec97d3.zip
fix some example docs site issues (#434)
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' },
],
},
];