summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReorx <novoreorx@gmail.com>2022-04-14 16:51:31 +0800
committerReorx <novoreorx@gmail.com>2022-04-14 16:51:31 +0800
commitad52cd9e5153de1131f519ac101dee1c38aef104 (patch)
tree3ccdab9daa859fd1e35f56db5c6b07b68181d715
parent370297f1485871e73636faaaf7fd06f8c07e8cde (diff)
exampleSite: add mainSections to include posts in .Pages
-rw-r--r--exampleSite/config.yml3
-rw-r--r--exampleSite/content/posts/_index.md3
2 files changed, 6 insertions, 0 deletions
diff --git a/exampleSite/config.yml b/exampleSite/config.yml
index 8972d45..78d5639 100644
--- a/exampleSite/config.yml
+++ b/exampleSite/config.yml
@@ -91,6 +91,9 @@ params:
description: "Theme PaperModX - https://github.com/reorx/hugo-PaperModX"
author:
- Reorx
+ mainSections:
+ - docs
+ - posts
defaultTheme: auto
# disableThemeToggle: true
diff --git a/exampleSite/content/posts/_index.md b/exampleSite/content/posts/_index.md
new file mode 100644
index 0000000..76fa783
--- /dev/null
+++ b/exampleSite/content/posts/_index.md
@@ -0,0 +1,3 @@
+---
+title: Posts
+---