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

gitlab.com/toryanderson/hugo-icarus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordigitalcraftsman <digitalcraftsman@protonmail.com>2017-05-19 23:18:32 +0300
committerdigitalcraftsman <digitalcraftsman@protonmail.com>2017-05-19 23:18:32 +0300
commit0928ac7868816f52541d07a2a66a4038c54de344 (patch)
tree29c8b9b93aa4123c34fd84eb6036e5ad1fb1a028 /exampleSite
parent183f569749f8051e609c36a57f417124f02a21f7 (diff)
Use mainSections to define which pages are shown on the homepage
Diffstat (limited to 'exampleSite')
-rw-r--r--exampleSite/config.toml3
1 files changed, 3 insertions, 0 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index 86a7fdd..ee11f32 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -28,6 +28,9 @@ themesDir = "../.."
logo = "css/images/logo.png"
disable_mathjax = false # set to true to disable MathJax
+ # define which types of pages should be shown. By default the type with the most regular pages
+ mainSections = ["post"]
+
# Format dates with Go's time formatting
date_format = "2006-01-02"