From 4596d4dbcb58f27dca9d2aa89878205e350b97b6 Mon Sep 17 00:00:00 2001 From: "M. Taylor Saotome-Westlake" Date: Mon, 2 Jan 2017 19:56:52 -0800 Subject: [PATCH 1/1] / rather than /foo.html URLs for category, tag, and author --- pelicanconf.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pelicanconf.py b/pelicanconf.py index 1daca70..aa5e3f5 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -38,8 +38,14 @@ WITH_FUTURE_DATES = False FILENAME_METADATA = '(?P.*)' ARTICLE_URL = '{date:%Y}/{date:%b}/{slug}/' ARTICLE_SAVE_AS = '{date:%Y}/{date:%b}/{slug}/index.html' +CATEGORY_URL = 'category/{slug}/' +CATEGORY_SAVE_AS = 'category/{slug}/index.html' +TAG_URL = 'tag/{slug}/' +TAG_SAVE_AS = 'tag/{slug}/index.html' PAGE_URL = '{slug}/' PAGE_SAVE_AS = '{slug}/index.html' +AUTHOR_URL = 'author/{slug}/' +AUTHOR_SAVE_AS = 'author/{slug}/index.html' THEME = 'theme' -- 2.17.1