aboutsummaryrefslogtreecommitdiffstats
path: root/pelicanconf.py
diff options
context:
space:
mode:
authorbnewbold <bnewbold@robocracy.org>2016-06-21 00:55:42 -0400
committerbnewbold <bnewbold@robocracy.org>2016-06-21 01:41:43 -0400
commitdd720a4b6f1fe9be63f813f4dd26af75f44b9cd7 (patch)
treebdd3cce2e4d9caecb9f8caf2d949aed1906e316d /pelicanconf.py
parent27bc055d286a9563008e4a311f4b1506b46719c3 (diff)
downloadbnewnet-dd720a4b6f1fe9be63f813f4dd26af75f44b9cd7.tar.gz
bnewnet-dd720a4b6f1fe9be63f813f4dd26af75f44b9cd7.zip
general content cleanup
Diffstat (limited to 'pelicanconf.py')
-rw-r--r--pelicanconf.py15
1 files changed, 13 insertions, 2 deletions
diff --git a/pelicanconf.py b/pelicanconf.py
index 0a0b5e9..380d85f 100644
--- a/pelicanconf.py
+++ b/pelicanconf.py
@@ -31,10 +31,19 @@ PLUGINS = ['sitemap', 'headerid']
SITEMAP = {'format': 'xml'}
ARTICLE_URL = '{date:%Y}/{slug}/'
+ARTICLE_LANG_URL = '{date:%Y}/{slug}/{lang}/'
ARTICLE_SAVE_AS = '{date:%Y}/{slug}/index.html'
+ARTICLE_LANG_SAVE_AS = '{date:%Y}/{slug}/{lang}/index.html'
PAGE_URL = '{slug}/'
PAGE_SAVE_AS = '{slug}/index.html'
+ARCHIVES_SAVE_AS = 'archives/index.html'
YEAR_ARCHIVE_SAVE_AS = '{date:%Y}/index.html'
+AUTHOR_URL = 'author/{slug}/'
+AUTHOR_SAVE_AS = 'author/{slug}/index.html'
+AUTHORS_SAVE_AS = 'author/index.html'
+TAG_URL = 'tag/{slug}/'
+TAG_SAVE_AS = 'tag/{slug}/index.html'
+TAGS_SAVE_AS = 'tag/index.html'
MD_EXTENSIONS = ["codehilite(css_class=highlight)", "extra", "toc"]
@@ -45,9 +54,11 @@ DEFAULT_LANG = u'en'
# Feed generation is usually not desired when developing
FEED_DOMAIN = SITEURL
FEED_ALL_ATOM = 'feeds/all.atom.xml'
-CATEGORY_FEED_ATOM = 'feeds/%s.atom.xml'
+CATEGORY_FEED_ATOM = None
+TAG_FEED_ATOM = 'feeds/%s.atom.xml'
FEED_ALL_RSS = 'feeds/all.rss.xml'
-CATEGORY_FEED_RSS = 'feeds/%s.rss.xml'
+CATEGORY_FEED_RSS = None
+TAG_FEED_RSS = 'feeds/%s.rss.xml'
# Blogroll
LINKS = (('Pelican', 'http://getpelican.com/'),