1
0
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:
spf13
2014-04-23 03:00:11 -04:00
parent 9ecf58e29b
commit 11fe227b9e
45 changed files with 214 additions and 155 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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)

View File

@@ -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

View File

@@ -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

View File

@@ -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