/ rather than /foo.html URLs for category, tag, and author
authorM. Taylor Saotome-Westlake <ultimatelyuntruethought@gmail.com>
Tue, 3 Jan 2017 03:56:52 +0000 (19:56 -0800)
committerM. Taylor Saotome-Westlake <ultimatelyuntruethought@gmail.com>
Tue, 3 Jan 2017 03:56:52 +0000 (19:56 -0800)
pelicanconf.py

index 1daca70..aa5e3f5 100644 (file)
@@ -38,8 +38,14 @@ WITH_FUTURE_DATES = False
 FILENAME_METADATA = '(?P<slug>.*)'
 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'