-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpelicanconf.py
90 lines (68 loc) · 2.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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
AUTHOR = 'Isics'
SITENAME = 'blog.isics.fr'
SITEURL = 'http://localhost:8000/'
THEME = 'themes/flex'
PATH = 'content'
TIMEZONE = 'Europe/Paris'
SITETITLE = 'blog.isics.fr'
SITESUBTITLE = 'Le blog technique d\'Isics'
SITEDESCRIPTION = 'Le blog technique d\'Isics'
MAIN_MENU = False
FAVICON = '/images/favicon.ico'
SITELOGO = '/images/table_ping_pong.jpg'
DISQUS_SITENAME = 'blog-isics'
STATIC_PATHS = ['css', 'images']
CUSTOM_CSS = 'css/custom.css'
# Default theme language.
I18N_TEMPLATES_LANG = 'en'
DEFAULT_LANG = 'fr'
LOCALE = 'fr_FR'
OG_LOCALE = 'fr_FR'
JINJA_ENVIRONMENT = {'extensions': ['jinja2.ext.i18n']}
PLUGIN_PATHS = ['pelican-plugins']
PLUGINS = ['i18n_subsites']
# 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 = (('à propos', 'http://www.isics.fr/'),)
# Social widget
SOCIAL = (('twitter', 'https://twitter.com/isicsfr'),
('facebook', 'https://www.facebook.com/isicsfr'),
('github', 'https://github.com/isics/'),)
DEFAULT_PAGINATION = False
MENUITEMS = (('Catégories', '/categories.html'),
('Tags', '/tags.html'),
('Auteurs', '/authors.html'),
('Archives', '/archives.html'),)
# Uncomment following line if you want document-relative URLs when developing
#RELATIVE_URLS = True
SUMMARY_MAX_LENGTH = 200
CC_LICENSE = {
'name': 'Creative Commons Attribution-ShareAlike',
'version': '4.0',
'slug': 'by-sa'
}
AUTHORS_INFOS = {
'jeremy-fournaise': {
'image': '/images/jeremy-fournaise.png',
'role': 'Chef de projet web & mobile chez <a href="http://www.isics.fr" target="_blank">Isics</a>',
'twitter': 'https://twitter.com/jfournaise'
},
'julien-pottier': {
'image': '/images/julien-pottier.png',
'role': 'Lead dev. PHP (certifié Symfony) chez <a href="http://www.isics.fr" target="_blank">Isics</a>',
'twitter': 'https://twitter.com/pottier08'
},
'nicolas-charlot': {
'image': '/images/nicolas-charlot.png',
'role': 'Co-fondateur & CEO <a href="http://www.isics.fr" target="_blank">Isics</a>, Co-fondateur & CTO <a href="http://www.spacefoot.com" target="_blank">Spacefoot</a>',
'twitter': 'https://twitter.com/ncharlot'
}
}