-
Notifications
You must be signed in to change notification settings - Fork 12
/
pelicanconf.py
56 lines (43 loc) · 1.41 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
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
AUTHORS = (
u'AFPy',
)
SITENAME = u'PyCon-fr 2016'
SITEURL = 'http://localhost:8000'
PATH = 'content'
TIMEZONE = 'Europe/Paris'
DEFAULT_LANG = u'fr'
# Social widget
SOCIAL = (('Github', 'https://github.com/AFPy/pyconfr_2016'),)
DEFAULT_PAGINATION = False
THEME = "theme"
INDEX_SAVE_AS = 'nouvelles.html'
COVER_IMG_URL = '/theme/sidebar.jpg'
SOCIAL = (
('Email', 'mailto:[email protected]'),
('RSS', SITEURL + '/feeds/all.atom.xml'),
('GitHub', 'https://github.com/AFPy/pyconfr_2016'),
)
MENUITEMS = (
(u'À propos', '/index.html'),
(u'Nouvelles', '/archives.html'),
(u'Programme', '/pages/programme.html'),
(u'Nos soutiens', '/pages/soutiens.html'),
(u'Venir', '/pages/venir.html'),
(u'Se loger', '/pages/se-loger.html'),
(u'Se nourrir', '/pages/se-nourrir.html'),
(u'Demander une bourse', '/pages/bourse.html'),
(u'Nous soutenir', '/pages/nous-soutenir.html'),
(u'Nous contacter', '/pages/nous-contacter.html'),
(u'Code de conduite', '/pages/code-de-conduite.html'),
)
DISPLAY_PAGES_ON_MENU = False
DISPLAY_CATEGORIES_ON_MENU = False
STATIC_PATHS = ['images', 'documents', 'videos', 'extra/CNAME', ]
EXTRA_PATH_METADATA = {'extra/CNAME': {'path': 'CNAME'}}
PLUGIN_PATHS = ['plugins']
PLUGINS = ['post_stats', 'html_rst_directive', 'assets']
RESPONSIVE_IMAGES = True
RELATIVE_URLS = True