Repos / hi.imnhan.com / 9348f28e1e
commit 9348f28e1ec42f5891ac48e5d283746b8b848c6a
Author: nhanb <thanhnhan483@gmail.com>
Date: Tue May 14 23:59:24 2013 +0700
moar update
diff --git a/pelicanconf.py b/pelicanconf.py
index 34ebe48..2165426 100644
--- a/pelicanconf.py
+++ b/pelicanconf.py
@@ -15,11 +15,7 @@
CATEGORY_FEED_ATOM = None
TRANSLATION_FEED_ATOM = None
-## Blogroll
-#LINKS = (('Pelican', 'http://getpelican.com/'),
- #('Python.org', 'http://python.org/'),
- #('Jinja2', 'http://jinja.pocoo.org/')
- #)
+STATIC_PATHS = ['images']
# Copy static files to output
FILES_TO_COPY = (('extra/CNAME', 'CNAME'),
@@ -31,10 +27,28 @@
ARTICLE_LANG_URL = '{date:%Y}/{date:%m}/{slug}-{lang}/'
ARTICLE_LANG_SAVE_AS = '{date:%Y}/{date:%m}/{slug}-{lang}/index.html'
-DEFAULT_PAGINATION = 10
+PAGE_URL = ('pages/{slug}/')
+PAGE_SAVE_AS = ('pages/{slug}/index.html')
+PAGE_LANG_URL = ('pages/{slug}-{lang}/')
+PAGE_LANG_SAVE_AS = ('pages/{slug}-{lang}/index.html')
-STATIC_PATHS = ['images']
+AUTHOR_URL = ('author/{slug}/')
+AUTHOR_SAVE_AS = ('author/{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')
+
+DEFAULT_PAGINATION = 10
# Social widget
#SOCIAL = (('You can add links in your config file', '#'),
#('Another social link', '#'),)
+
+## Blogroll
+#LINKS = (('Pelican', 'http://getpelican.com/'),
+ #('Python.org', 'http://python.org/'),
+ #('Jinja2', 'http://jinja.pocoo.org/')
+ #)