summaryrefslogtreecommitdiff
path: root/pelicanconf.py
blob: abbf48847819618e4a2a77ee6e21643d4076d1f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#!/usr/bin/env python
# -*- coding: utf-8 -*- #

AUTHOR = u'Chimrod'
SITENAME = u'Chimrod'
SITEURL = 'http://blog.chimrod.com/'

TIMEZONE = 'Europe/Paris'

DEFAULT_LANG = u'fr'

#ARTICLE_DIR = 'articles'

# Blogroll
#LINKS =  (('Pelican', 'http://docs.notmyidea.org/alexis/pelican/'),
#          ('Python.org', 'http://python.org'),
#          ('Jinja2', 'http://jinja.pocoo.org'),
#          ('You can modify those links in your config file', '#'),)

# Social widget
#SOCIAL = (('You can add links in your config file', '#'),
#          ('Another social link', '#'),)

DEFAULT_PAGINATION = 4
FEED_DOMAIN = SITEURL
FEED_RSS = 'feed'
FEED_ATOM = 'feeds/atom.xml'
FEED_MAX_ITEMS=5
TAG_FEED_RSS = 'feeds/%s.xml'
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

from pelican.plugins import related_posts
PLUGINS = [related_posts]