summaryrefslogtreecommitdiff
path: root/_config.yml
diff options
context:
space:
mode:
authorNicolas Kuttler <git@kuttler.eu>2015-02-13 07:50:25 +0100
committerNicolas Kuttler <git@kuttler.eu>2015-02-13 07:50:25 +0100
commit0e68e60cb0e64fe530769e7de58e068779e68b3a (patch)
tree8e52a27b080d461566429af704f5d604dd47bc80 /_config.yml
parent6a610e5595c5a1c9433994dca144657cba489f8e (diff)
downloadirssi.github.io-0e68e60cb0e64fe530769e7de58e068779e68b3a.zip
Use permanent URIS
Unfortunately URI routing sucks in jekyll, see http://jekyllrb.com/docs/permalinks/. It's easy enough to get /foo/bar/title/ for posts and articles, but pages are a different matter. There are a few unresolved bug reports, and the best solution seems to be to hardcode the URI into every page. http://www.w3.org/Provider/Style/URI
Diffstat (limited to '_config.yml')
-rw-r--r--_config.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/_config.yml b/_config.yml
index 1df1331..007727b 100644
--- a/_config.yml
+++ b/_config.yml
@@ -1,4 +1,4 @@
-permalink: "/:year/:month/:day/:title"
+permalink: "/:year/:month/:day/:title/"
exclude: ["README.markdown"]
lsi: false
safe: true
@@ -18,3 +18,4 @@ paginate_path: "news/:num/"
collections:
articles:
output: true
+ permalink: "/articles/:title/"