From a77638268002355eae581f378034a23415595196 Mon Sep 17 00:00:00 2001 From: "M. Taylor Saotome-Westlake" Date: Fri, 8 Sep 2017 18:10:06 -0700 Subject: [PATCH] generate month and year archive pages --- pelicanconf.py | 2 ++ 1 file changed, 2 insertions(+) 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'), -- 2.17.1