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

github.com/devcows/hugo-universal-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschuster-rainer <rainerschuster79@gmail.com>2017-03-08 23:20:37 +0300
committerAdrián Moreno <adrian@morenomartinez.com>2017-03-09 12:43:59 +0300
commit15526a60fa71c2990236053456529c02783558ca (patch)
tree2aeed248a338af4fdb2b60f959939f91e8571ef2 /exampleSite/config.toml
parente616781be75a94f4792182bd0a8edc09c7d56b5a (diff)
Refactor exampleSite to hugo menu
Diffstat (limited to 'exampleSite/config.toml')
-rw-r--r--exampleSite/config.toml43
1 files changed, 23 insertions, 20 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index 6018dff..480a272 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -12,6 +12,29 @@ googleAnalytics = ""
# Define the number of posts per page
paginate = 10
+[menu]
+
+[[menu.main]]
+ name = "Home"
+ url = "/"
+ weight = 1
+
+[[menu.main]]
+ name = "Blog"
+ url = "/blog/"
+ weight = 2
+
+[[menu.main]]
+ name = "FAQ"
+ identifier = "faq"
+ url = "/faq/"
+ weight = 3
+
+[[menu.main]]
+ name = "Contact"
+ url = "/contact/"
+ weight = 4
+
[params]
viewMorePostLink = "/blog/"
author = "DevCows"
@@ -59,26 +82,6 @@ paginate = 10
[Permalinks]
blog = "/blog/:year/:month/:day/:filename/"
-[[params.menu]]
- name = "Home"
- url = "/"
- weight = 1
-
-[[params.menu]]
- name = "Blog"
- url = "/blog/"
- weight = 2
-
-[[params.menu]]
- name = "FAQ"
- url = "/faq/"
- weight = 3
-
-[[params.menu]]
- name = "Contact"
- url = "/contact/"
- weight = 4
-
# Enable and disable widgets for the right sidebar
[params.widgets]
categories = true