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:
f90fc20
)
/ rather than /foo.html URLs for category, tag, and author
author
M. Taylor Saotome-Westlake
<
[email protected]
>
Tue, 3 Jan 2017 03:56:52 +0000
(19:56 -0800)
committer
M. Taylor Saotome-Westlake
<
[email protected]
>
Tue, 3 Jan 2017 03:56:52 +0000
(19:56 -0800)
pelicanconf.py
patch
|
blob
|
history
diff --git
a/pelicanconf.py
b/pelicanconf.py
index
1daca70
..
aa5e3f5
100644
(file)
--- a/
pelicanconf.py
+++ b/
pelicanconf.py
@@
-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'