From: M. Taylor Saotome-Westlake Date: Tue, 3 Jan 2017 03:56:52 +0000 (-0800) Subject: / rather than /foo.html URLs for category, tag, and author X-Git-Url: http://unremediatedgender.space/source?p=Ultimately_Untrue_Thought.git;a=commitdiff_plain;h=4596d4dbcb58f27dca9d2aa89878205e350b97b6;hp=f90fc202399a45519f1b242e7a08613d60f6efa1 / rather than /foo.html URLs for category, tag, and author --- 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'