From: M. Taylor Saotome-Westlake Date: Sat, 9 Sep 2017 01:10:06 +0000 (-0700) Subject: generate month and year archive pages X-Git-Url: http://unremediatedgender.space/source?a=commitdiff_plain;h=a77638268002355eae581f378034a23415595196;p=Ultimately_Untrue_Thought.git generate month and year archive pages --- diff --git a/pelicanconf.py b/pelicanconf.py index e481594..5156680 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -50,6 +50,8 @@ AUTHOR_URL = 'author/{slug}/' AUTHOR_SAVE_AS = 'author/{slug}/index.html' ARCHIVES_URL = 'archives' ARCHIVES_SAVE_AS = 'archives/index.html' +YEAR_ARCHIVE_SAVE_AS = '{date:%Y}/index.html' +MONTH_ARCHIVE_SAVE_AS = '{date:%Y}/{date:%b}/index.html' PAGINATION_PATTERNS = ( (1, '{base_name}/', '{base_name}/index.html'),