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

github.com/yihui/hugo-xmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYihui Xie <xie@yihui.name>2017-10-27 06:00:25 +0300
committerYihui Xie <xie@yihui.name>2022-06-15 06:53:27 +0300
commit7cffbe39571372e5a0a6947d97c928f9443dd613 (patch)
tree6a36e4e18a70d574d8402a5a559c6e7ee0500a4c
parentce50a82900e1bdfec0753d2a740ba199e2d2eb53 (diff)
test pagination (show one post per page; it does not make practical sense, but I only have four pages on this example site in total, and I want to show them in four pages)feature/pagination
-rw-r--r--exampleSite/config.yaml1
1 files changed, 1 insertions, 0 deletions
diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml
index 59b9ae1..949974c 100644
--- a/exampleSite/config.yaml
+++ b/exampleSite/config.yaml
@@ -6,6 +6,7 @@ googleAnalytics: ""
disqusShortname: ""
ignoreFiles: ["\\.Rmd$", "\\.Rmarkdown$", "_cache$", "\\.knit\\.md$", "\\.utf8\\.md$"]
footnotereturnlinkcontents: "↩"
+paginate: 1
permalinks:
note: "/note/:year/:month/:day/:slug/"