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

github.com/wangchucheng/hugo-eureka.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWang Chucheng <ccwangchn@gmail.com>2020-10-16 07:06:37 +0300
committerWang Chucheng <ccwangchn@gmail.com>2020-10-16 07:06:37 +0300
commit8987983acd6c668ad30c88409ee75f5c978e3d6c (patch)
treea6941cca861b9a2ca1302cb5e61481883b731adc /exampleSite/config
parent89640f682b3c2f7f092ea7f630934120e14beae0 (diff)
feat: add doc layout
Diffstat (limited to 'exampleSite/config')
-rw-r--r--exampleSite/config/_default/menus.toml9
-rw-r--r--exampleSite/config/_default/params.toml2
2 files changed, 8 insertions, 3 deletions
diff --git a/exampleSite/config/_default/menus.toml b/exampleSite/config/_default/menus.toml
index d27600a..3e38259 100644
--- a/exampleSite/config/_default/menus.toml
+++ b/exampleSite/config/_default/menus.toml
@@ -1,11 +1,14 @@
[[main]]
- identifier = "about"
name = "About"
url = "/about/"
weight = 10
[[main]]
- identifier = "post"
name = "Posts"
url = "/post/"
- weight = 20 \ No newline at end of file
+ weight = 20
+
+[[main]]
+ name = "Docs"
+ url = "/docs/"
+ weight = 30 \ No newline at end of file
diff --git a/exampleSite/config/_default/params.toml b/exampleSite/config/_default/params.toml
index 3534b0e..5d53370 100644
--- a/exampleSite/config/_default/params.toml
+++ b/exampleSite/config/_default/params.toml
@@ -1,3 +1,5 @@
+mainSections = ["post"]
+
[basic]
# E.g. Person, Organization, LocalBusiness, Project, EducationalOrganization
site_type = "Person"