Creating site menu configuration and have the docs site use it

This commit is contained in:
spf13
2014-04-24 16:11:08 -06:00
parent ac82fe32af
commit bdf7cd9f9d
5 changed files with 91 additions and 18 deletions

27
docs/config.toml Normal file
View File

@@ -0,0 +1,27 @@
baseurl = "http://hugo.spf13.com"
[indexes]
tag = "tags"
group = "groups"
[[menu.main]]
name = "getting started"
weight = -100
[[menu.main]]
name = "content"
weight = -90
[[menu.main]]
name = "layout"
weight = -80
[[menu.main]]
name = "taxonomy"
weight = -70
[[menu.main]]
name = "extras"
weight = -60
[[menu.main]]
name = "community"
weight = -50
[[menu.main]]
name = "tutorials"
weight = -40

View File

@@ -1,5 +0,0 @@
indexes:
tag: 'tags'
group: 'groups'
baseurl: 'http://hugo.spf13.com'
...