summaryrefslogtreecommitdiff
path: root/pelicanconf.py
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@chimrod.com>2013-04-20 17:40:22 +0200
committerSébastien Dailly <sebastien@chimrod.com>2013-04-20 17:40:22 +0200
commita0cbfad9fdacf74df26c8e8302900a2c48e9c140 (patch)
tree5c7ca7ac34277051889660db5f27dcfe545a8e02 /pelicanconf.py
parent91149dfb9162ff362c3d40472e68738adc22a75a (diff)
Added 404 and htacess file
Diffstat (limited to 'pelicanconf.py')
-rwxr-xr-xpelicanconf.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/pelicanconf.py b/pelicanconf.py
index 9165b21..d20f05c 100755
--- a/pelicanconf.py
+++ b/pelicanconf.py
@@ -9,8 +9,6 @@ TIMEZONE = 'Europe/Paris'
DEFAULT_LANG = u'fr'
-#ARTICLE_DIR = 'articles'
-
# Blogroll
#LINKS = (('Pelican', 'http://docs.notmyidea.org/alexis/pelican/'),
# ('Python.org', 'http://python.org'),
@@ -32,10 +30,15 @@ TAG_FEED_ATOM = 'feeds/%s.atom'
ARTICLE_URL = u'{date:%Y}/{date:%m}/{slug}/'
ARTICLE_SAVE_AS = u'{date:%Y}/{date:%m}/{slug}/index.html'
+
DISQUS_SITENAME='chimrod'
THEME = 'theme'
TYPOGRIFY = True
+TEMPLATE_PAGES = {'../extras/404.html': '404.html'}
+FILES_TO_COPY = (
+ ('../extras/htaccess', '.htaccess'),
+)
from pelican.plugins import related_posts
PLUGINS = [related_posts]