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

github.com/spookey/slick.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrieder Griesshammer <frieder.griesshammer@der-beweis.de>2019-03-03 12:02:40 +0300
committerFrieder Griesshammer <frieder.griesshammer@der-beweis.de>2019-03-03 12:02:40 +0300
commit8d053bc78e24205888a3bbbed30c1cd3cbe96ad7 (patch)
tree65b791f368d237f7223b34cd07b822f4aec9158e /exampleSite
parentf503a36136f87e2e977df14cbdfaa1e06cc6ac16 (diff)
Add option to hide pagination if there is nothing to paginate
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 97dbd4e..7cce92f 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -47,6 +47,9 @@ paginatePath = "page"
# Decide if only summaries are shown on the main page or the full content
showFullContent = true
+ # If false no pagination is shown when there is nothing to paginate
+ showEmptyPagination = true
+
# Uses Hugo internal templates if set
opengraph = false
schema = false