pelicanconf.py 1.74 KB
Newer Older
quota_atypique's avatar
quota_atypique committed
1
2
3
4
5
6
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals

AUTHOR = u'Memopol Team'
SITENAME = u'Memopol Project'
7
SITEURL = 'http://www.memopol.org/'
quota_atypique's avatar
quota_atypique committed
8
9
10
11
12
13
14
SITESUBTITLE= 'Bridging the gap between politics and citizens'

PATH = 'content'

TIMEZONE = 'Europe/Paris'

DEFAULT_LANG = u'en'
15
16
17
LOCALE = u'en_EN.utf8'
DEFAULT_DATE_FORMAT = '%d/%m/%Y' 

quota_atypique's avatar
quota_atypique committed
18
19
20
21
22
23
24
25
26
27

# Feed generation is usually not desired when developing
FEED_ALL_ATOM = None
CATEGORY_FEED_ATOM = None
TRANSLATION_FEED_ATOM = None
AUTHOR_FEED_ATOM = None
AUTHOR_FEED_RSS = None

# Blogroll
LINKS = (('La Quadrature du Net', 'https://www.laquadrature.net'),
28
         ('LQDN\'s Memopol Instance', 'http://lqdn.memopol.eu/'),
quota_atypique's avatar
quota_atypique committed
29
30
31
32
33
34
        )

# Social widget
SOCIAL = (('Twitter', 'https://twitter.com/memopol2'),
         )

35
MORE =  (('Changing Democracy With Code: A Word From The Developers', '/pages/changing-democracy-with-code-a-word-from-the-developers.html'),
quota_atypique's avatar
quota_atypique committed
36
		('Documentation', 'http://memopol.rtfd.org'),
37
38
39
40
        ('FAQ (en)', '/pages/faq.html'),
         ('FAQ (fr)', '/pages/faq-fr.html'),
        )

quota_atypique's avatar
quota_atypique committed
41
42
43
44
45
DEFAULT_PAGINATION = 5

#menu
MENUITEMS = (('About', '/pages/about-memopol.html'),
            ('News', '/category/news.html'),
46
            ('Development diary','/category/development-diary.html'),
quota_atypique's avatar
quota_atypique committed
47
48
49
50
51
52
53
54
55
56
57
            ('Contribute', '/pages/contribute.html'),
            ('Download & install','/pages/download-install-instructions.html'),
            ('Contact','/pages/contact.html'),
            )
DISPLAY_CATEGORIES_ON_MENU = False
DISPLAY_PAGES_ON_MENU = False

PLUGIN_PATHS = ["plugins", "/var/www/memopol-blog/plugins/"]
PLUGINS = ['pin_to_top']

#Theme
58
THEME = "/var/www/memopol-blog/foundation-memopol"
quota_atypique's avatar
quota_atypique committed
59
60

# Uncomment following line if you want document-relative URLs when developing
61
RELATIVE_URLS = True