projects
/
Ultimately_Untrue_Thought.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e8f3b6
)
generate month and year archive pages
author
M. Taylor Saotome-Westlake
<
[email protected]
>
Sat, 9 Sep 2017 01:10:06 +0000
(18:10 -0700)
committer
M. Taylor Saotome-Westlake
<
[email protected]
>
Sat, 9 Sep 2017 01:10:06 +0000
(18:10 -0700)
pelicanconf.py
patch
|
blob
|
history
diff --git
a/pelicanconf.py
b/pelicanconf.py
index
e481594
..
5156680
100644
(file)
--- 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'),