summaryrefslogtreecommitdiff
path: root/_config.yml
diff options
context:
space:
mode:
authoruvok cheetah2019-05-24 21:07:26 +0200
committeruvok cheetah2019-05-24 21:07:26 +0200
commitef5586499f21a779c2d88c8762869be0f58e813d (patch)
tree0e34951cc7c76f9099ed3b5d8ad7f27f331fb06d /_config.yml
parent3b40722ed8135387329fcd261ba93e3f21d124ea (diff)
Fix link by applying correct permalink config
Diffstat (limited to '_config.yml')
-rw-r--r--_config.yml9
1 files changed, 8 insertions, 1 deletions
diff --git a/_config.yml b/_config.yml
index c0f2de8..d701bd6 100644
--- a/_config.yml
+++ b/_config.yml
@@ -21,7 +21,14 @@ timezone: Europe/Berlin
markdown: kramdown
# avoid deep nesting when using categories
-permalink: /:year/:month/:title.html
+# Thanks to https://github.com/jekyll/jekyll/issues/4145#issuecomment-158140960
+# We only want to modify posts, not pages!
+defaults:
+ -
+ scope:
+ type: posts
+ values:
+ permalink: /:year/:month/:title.html
theme: minima