sleeker page URLs
authorM. Taylor Saotome-Westlake <[email protected]>
Tue, 6 Sep 2016 03:11:13 +0000 (20:11 -0700)
committerM. Taylor Saotome-Westlake <[email protected]>
Tue, 6 Sep 2016 03:11:13 +0000 (20:11 -0700)
pelicanconf.py

index 2b81dd2..5a16046 100644 (file)
@@ -32,6 +32,8 @@ 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'
+PAGE_URL = '{slug}/'
+PAGE_SAVE_AS = '{slug}/index.html'
 
 THEME = 'theme'