blob: ea214733708d08c0d0e9015ae1e0ca3ff6bb3475 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
# Settings not listed here are inherited from `_default/config.toml`
## This is a more extensive example of the themes capabilities that pulls from the local `exampleSite`
## Run `hugo server` to load this demo
### For Pages the .RelPermalink must match the menu .URL
### For sections the name/directory must match the menu .Identifier
[menu]
[[menu.main]]
identifier = "generic"
name = "Generic"
url = "/generic/"
weight = 10
[[menu.main]]
identifier = "contact"
name = "Contact"
url = "/contact/"
weight = 20
[[menu.main]]
identifier = "elements"
name = "Elements"
url = "/elements/"
weight = 30
[[menu.main]]
identifier = "blog"
name = "Blog"
url = "/blog/"
weight = 40
[[menu.main]]
identifier = "submenu"
name = "Submenu"
url = "#"
weight = 50
[[menu.main]]
parent = "submenu"
identifier = "one"
name = "Option One"
url = "#"
weight = 51
[[menu.main]]
parent = "submenu"
identifier = "two"
name = "Option Two"
url = "#"
weight = 52
[[menu.main]]
parent = "submenu"
identifier = "three"
name = "Option Three"
url = "#"
weight = 53
[[menu.main]]
parent = "submenu"
identifier = "four"
name = "Option Four"
url = "#"
weight = 54
|