Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dewittn/hugo-html5up-alpha.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'exampleSite/config/development/config.toml')
-rw-r--r--exampleSite/config/development/config.toml60
1 files changed, 60 insertions, 0 deletions
diff --git a/exampleSite/config/development/config.toml b/exampleSite/config/development/config.toml
new file mode 100644
index 0000000..6ee33ac
--- /dev/null
+++ b/exampleSite/config/development/config.toml
@@ -0,0 +1,60 @@
+# Settings not listed here are inherited from `_default/config.toml`
+## This is a more complete example of the themes capabilities that will load with 'hugo server'
+baseURL = "http://localhost:1313/"
+
+[params]
+ mainSections = ["blog"]
+
+## Everything below is spesific to the content in the local `exampleSite` directory
+### 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 \ No newline at end of file