summaryrefslogtreecommitdiffstats
path: root/exampleSite/config/_default/menus.yaml
diff options
context:
space:
mode:
authorSerghei Iakovlev <egrep@protonmail.ch>2022-07-09 11:14:20 +0200
committerSerghei Iakovlev <egrep@protonmail.ch>2022-07-09 11:14:20 +0200
commit3136d6c54c26b92ab5cf1509bc9a210c1a800efa (patch)
tree39b4ba21fdfb121ed16e7d91752aa2c898a3a3ee /exampleSite/config/_default/menus.yaml
parentd3d3f34281e231c256478eb383ad2f286b00a077 (diff)
downloadgohugo-theme-ed-3136d6c54c26b92ab5cf1509bc9a210c1a800efa.tar.gz
Split configuration parameters
Diffstat (limited to 'exampleSite/config/_default/menus.yaml')
-rw-r--r--exampleSite/config/_default/menus.yaml53
1 files changed, 53 insertions, 0 deletions
diff --git a/exampleSite/config/_default/menus.yaml b/exampleSite/config/_default/menus.yaml
new file mode 100644
index 0000000..8111fbb
--- /dev/null
+++ b/exampleSite/config/_default/menus.yaml
@@ -0,0 +1,53 @@
+# For more see https://gohugo.io/content-management/menus/
+
+main: # sections in the website sidebar
+ - identifier: home # section id
+ name: Home # section display title
+ url: / # path to the section
+ weight: 1 # order of sections
+
+ - identifier: about
+ name: About
+ url: /about/
+ weight: 2
+
+ - identifier: credits
+ name: Credits
+ url: /credits/
+ weight: 3
+
+ - identifier: documentation
+ name: Documentation
+ url: /documentation/
+ weight: 4
+
+ - identifier: search
+ name: Search
+ url: /search/
+ weight: 5
+
+ - identifier: contact
+ name: Contact
+ url: /contact/
+ weight: 6
+
+ - identifier: github
+ name: GitHub Project
+ url: 'https://github.com/sergeyklay/gohugo-theme-ed/'
+ weight: 20
+ params:
+ external: true
+
+feeds:
+ - identifier: rss
+ name: RSS 2.0
+ url: /feeds/feed.rss.xml
+ weight: 1
+ - identifier: atom
+ name: Atom
+ url: /feeds/feed.atom.xml
+ weight: 2
+ - identifier: json
+ name: Json Feed
+ url: /feeds/feed.json
+ weight: 3