summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoruvok cheetah2020-01-09 20:26:40 +0100
committeruvok cheetah2020-01-09 20:26:40 +0100
commitdfc78c1bf0215fd693e931a17ffde0c1364c117f (patch)
tree4f970d640d284c97ebab56a82f61fe6e69265422
parent65a34708745faedfb7367bc28fee92bba8a02d83 (diff)
Generate autopages for categories + rename home layout
-rw-r--r--_config.yml10
-rw-r--r--_layouts/postlist.html (renamed from _layouts/home.html)0
-rw-r--r--index.md2
3 files changed, 11 insertions, 1 deletions
diff --git a/_config.yml b/_config.yml
index 6469a94..8599915 100644
--- a/_config.yml
+++ b/_config.yml
@@ -52,3 +52,13 @@ pagination:
trail:
before: 5
after: 5
+
+autopages:
+ enabled: true
+ categories:
+ layouts: ['postlist.html']
+ tags:
+ enabled: false
+ collections:
+ enabled: false
+
diff --git a/_layouts/home.html b/_layouts/postlist.html
index dd4796e..dd4796e 100644
--- a/_layouts/home.html
+++ b/_layouts/postlist.html
diff --git a/index.md b/index.md
index 0405560..762a33d 100644
--- a/index.md
+++ b/index.md
@@ -2,7 +2,7 @@
# Feel free to add content and custom Front Matter to this file.
# To modify the layout, see https://jekyllrb.com/docs/themes/#overriding-theme-defaults
-layout: home
+layout: postlist
pagination:
enabled: true
---