mirror of
https://github.com/gohugoio/hugo.git
synced 2024-05-11 05:54:58 +00:00
Implementing new menu system in the docs site
This commit is contained in:
@@ -5,8 +5,10 @@ aliases:
|
||||
- /doc/redirects/
|
||||
- /doc/alias/
|
||||
- /doc/aliases/
|
||||
groups: ["extras"]
|
||||
groups_weight: 20
|
||||
weight: 20
|
||||
menu:
|
||||
main:
|
||||
parent: 'extras'
|
||||
---
|
||||
|
||||
For people migrating existing published content to Hugo theres a good chance
|
||||
|
||||
@@ -1,8 +1,10 @@
|
||||
---
|
||||
title: "Highlighting"
|
||||
date: "2013-07-01"
|
||||
groups: ["extras"]
|
||||
groups_weight: 15
|
||||
weight: 15
|
||||
menu:
|
||||
main:
|
||||
parent: 'extras'
|
||||
---
|
||||
|
||||
Hugo provides the ability for you to highlight source code from within your
|
||||
|
||||
@@ -3,9 +3,11 @@ title: "Permalinks"
|
||||
date: "2013-11-18"
|
||||
aliases:
|
||||
- "/doc/permalinks/"
|
||||
groups: ["extras"]
|
||||
groups_weight: 30
|
||||
weight: 30
|
||||
notoc: true
|
||||
menu:
|
||||
main:
|
||||
parent: 'extras'
|
||||
---
|
||||
|
||||
By default, content is laid out into the target `publishdir` (public)
|
||||
|
||||
@@ -2,8 +2,10 @@
|
||||
title: "Shortcodes"
|
||||
date: "2013-07-01"
|
||||
aliases: ["/doc/shortcodes/"]
|
||||
groups: ["extras"]
|
||||
groups_weight: 10
|
||||
weight: 10
|
||||
menu:
|
||||
main:
|
||||
parent: 'extras'
|
||||
---
|
||||
|
||||
Because Hugo uses markdown for its simple content format, however there's a lot
|
||||
|
||||
@@ -1,8 +1,10 @@
|
||||
---
|
||||
title: "Table of Contents"
|
||||
date: "2013-07-09"
|
||||
groups: ["extras"]
|
||||
groups_weight: 70
|
||||
weight: 70
|
||||
menu:
|
||||
main:
|
||||
parent: 'extras'
|
||||
---
|
||||
|
||||
Hugo will automatically parse the markdown for your content and create
|
||||
|
||||
@@ -3,9 +3,11 @@ title: "URLs"
|
||||
date: "2014-01-03"
|
||||
aliases:
|
||||
- "/doc/urls/"
|
||||
groups: ["extras"]
|
||||
groups_weight: 40
|
||||
weight: 40
|
||||
notoc: true
|
||||
menu:
|
||||
main:
|
||||
parent: 'extras'
|
||||
---
|
||||
|
||||
## Pretty Urls
|
||||
|
||||
Reference in New Issue
Block a user