-
Notifications
You must be signed in to change notification settings - Fork 2
/
pelicanconf.py
63 lines (48 loc) · 1.78 KB
/
pelicanconf.py
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
import os
AUTHOR = u'Memopol Team'
SITENAME = u'Memopol Project'
SITEURL = 'http://www.memopol.org/'
SITESUBTITLE= 'Bridging the gap between politics and citizens'
PATH = 'content'
TIMEZONE = 'Europe/Paris'
DEFAULT_LANG = u'en'
LOCALE = u'en_EN.utf8'
DEFAULT_DATE_FORMAT = '%d/%m/%Y'
# 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'),
('LQDN\'s Memopol Instance', 'http://lqdn.memopol.eu/'),
)
# Social widget
SOCIAL = (('Twitter', 'https://twitter.com/memopol2'),
)
MORE = (('Changing Democracy With Code: A Word From The Developers', '/pages/changing-democracy-with-code-a-word-from-the-developers.html'),
('Documentation', 'http://memopol.rtfd.org'),
('FAQ (en)', '/pages/faq.html'),
('FAQ (fr)', '/pages/faq-fr.html'),
)
DEFAULT_PAGINATION = 5
#menu
MENUITEMS = (('About', '/pages/about-memopol.html'),
('News', '/category/news.html'),
('Development diary','/category/development-diary.html'),
('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", os.path.join(os.path.dirname(__file__), 'plugins')]
PLUGINS = ['pin_to_top']
#Theme
THEME = os.path.join(os.path.dirname(__file__), 'foundation-memopol')
# Uncomment following line if you want document-relative URLs when developing
RELATIVE_URLS = True