diff options
author | 2021-06-14 12:45:33 -0700 | |
---|---|---|
committer | 2021-06-14 15:45:33 -0400 | |
commit | 1437b42038bf5daa0ad9e9be41d25f04a8ec97d3 (patch) | |
tree | 5d8b63ceddeb6c3475f86441ee84ff365448a49f /examples/docs/src/components | |
parent | 40720b2c1e6db7d8df9d3f717cd5288363ed17a5 (diff) | |
download | astro-1437b42038bf5daa0ad9e9be41d25f04a8ec97d3.tar.gz astro-1437b42038bf5daa0ad9e9be41d25f04a8ec97d3.tar.zst astro-1437b42038bf5daa0ad9e9be41d25f04a8ec97d3.zip |
fix some example docs site issues (#434)
Diffstat (limited to 'examples/docs/src/components')
-rw-r--r-- | examples/docs/src/components/SiteSidebar.astro | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/docs/src/components/SiteSidebar.astro b/examples/docs/src/components/SiteSidebar.astro index 30b14621c..0fbad0c83 100644 --- a/examples/docs/src/components/SiteSidebar.astro +++ b/examples/docs/src/components/SiteSidebar.astro @@ -7,10 +7,10 @@ import { sidebar } from '../config.ts'; {sidebar.map(category => ( <li> <div class="nav-group"> - <h4 class="nav-group-title"><a href={category.link}>{category.text}</a></h4> + <h4 class="nav-group-title"><a href={`${Astro.site}${category.link}`}>{category.text}</a></h4> <ul> {category.children.map(child => ( - <li class="nav-link"><a href={child.link}>{child.text}</a></li> + <li class="nav-link"><a href={`${Astro.site}${child.link}`}>{child.text}</a></li> ))} </ul> </div> |