--- title: Getting Started layout: ../layouts/Main.astro --- 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 The page navigation, through the side bar on the left, needs to be manually updated. Open the `config.ts` file and you will find the following structure: ```ts export const sidebar = [ { text: 'Introduction', link: '', // No leading slash needed, so this links to the homepage children: [ { text: 'Getting Started', link: 'getting-started' }, { text: 'Example', link: 'example' }, ], }, ]; ``` You can change this file to match the pages you want to display, the items within `children` can also have children elements, but only the first level and second levels will be displayed. The page navigation is generated in the `src/components/SiteSidebar.astro`, so if you want to change the depth of elements displayed, styles, etc, that's the place to go. ## Section navigation The section navigation, through the side bar on the right, is automatically generated by the `src/components/DocSidebar.tsx` file, it uses the meta-data from markdown files to generate the structure you see. By default only elements from depth 2 to 5 will be displayed, and at the moment doesn't work for `.astro files`. ## Other Components ### Footer You can edit your footer here `src/components/ArticleFooter.astro`, at the moment it is composed of a list of avatars. You can generate your own avatar [here](https://getavataaars.com/) and replace the ones from `AvatarList.astro`. ### Theme The `src/components/ThemeToggle.tsx` is only responsible for applying the theme, to change the theme colors see `public/theme.css` ## Documentation For more information on how to use Astro components, check the documentation pages: - [Quick Start](https://docs.astro.build/quick-start) - [astro.config.mjs](https://docs.astro.build/reference/configuration-reference) - [API](https://docs.astro.build/reference/api-reference) - [Command Line Interface](https://docs.astro.build/reference/cli-reference) - [Collections](https://docs.astro.build/core-concepts/collections) - [Development Server](https://docs.astro.build/reference/dev/) - [Markdown](https://docs.astro.build/guides/markdown-content) - [Publishing Astro components](https://docs.astro.build/guides/publish-to-npm) - [Renderers](https://docs.astro.build/reference/renderer-reference) - [Styling](https://docs.astro.build/guides/styling) - [.astro Syntax](https://docs.astro.build/core-concepts/astro-components) outsummaryrefslogtreecommitdiff
path: root/vendor/golang.org/x/net (unfollow)
AgeCommit message (Expand)AuthorFilesLines
2018-05-17Fix typo in erratic.go (#1812)Gravatar Anton Antonov 1-1/+1
2018-05-17Update kubernetes/client-go to v7.0.0 (#1808)Gravatar Yong Tang 730-43138/+17318
2018-05-16golinter fix (#1807)Gravatar Yong Tang 1-2/+2
2018-05-16Vendor update with github.com/ugorji/go and github.com/apache/thrift pinning ...Gravatar Yong Tang 10682-4047998/+37388
2018-05-16Dep ensure (#1803)Gravatar Miek Gieben 10377-54910/+4225825
2018-05-16Probe simplification (#1784)Gravatar Ruslan Drozhdzh 1-49/+42
2018-05-15plugin/tls: make CA parameter optional (#1800)Gravatar Ruslan Drozhdzh 2-3/+5
2018-05-11plugin/reload: mention auto in reload (#1793)Gravatar Chris O'Haver 1-0/+3
2018-05-11plugin/proxy: fix except example (#1796)Gravatar Chris O'Haver 1-1/+1
2018-05-11Try to clarify rewrite docs (#1795)Gravatar Chris O'Haver 1-13/+19
2018-05-10Up miekg/dns to 1.0.6 (#1792)Gravatar Miek Gieben 1-1/+1