From ad52cd9e5153de1131f519ac101dee1c38aef104 Mon Sep 17 00:00:00 2001 From: Reorx Date: Thu, 14 Apr 2022 16:51:31 +0800 Subject: [PATCH] exampleSite: add mainSections to include posts in .Pages --- exampleSite/config.yml | 3 +++ exampleSite/content/posts/_index.md | 3 +++ 2 files changed, 6 insertions(+) create mode 100644 exampleSite/content/posts/_index.md 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 +---