-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpelicanconf.py
More file actions
108 lines (87 loc) · 2.86 KB
/
pelicanconf.py
File metadata and controls
108 lines (87 loc) · 2.86 KB
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
AUTHOR = 'Association ÉCLAT'
SITENAME = "ÉCLAT -- Association des doctorants de l'École Centrale de Lyon"
SITEURL = 'https://eclat.ec-lyon.fr'
PATH = 'content'
TIMEZONE = 'Europe/Paris'
DEFAULT_LANG = 'fr'
PLUGIN_PATHS = ["pelican-plugins"]
PLUGINS = ['i18n_subsites']
I18N_SUBSITES = {
'en' :{
'SITENAME': 'ÉCLAT -- École Centrale de Lyon PhD students assoctiation',
'MENUITEMS': [
('The association',[
('Who are we?','/pages/assoc1.html'),
('Sport','/pages/assoc2.html'),
('Transversal formation,','/pages/assoc3.html'),
('Contact us','/pages/assoc4.html'),
('The website','/pages/assoc5.html'),
]),
('Doctoral thesis in short',[
('What is being a PhD student like?','/pages/bref1.html' ),
('Accounts','/pages/bref2.html' ),
('Around the PhD','/pages/bref3.html' ),
]),
('The Centrale Lyon School',[
('CRIEC','/pages/ecl1.html'),
('PhD students everyday','/pages/ecl2.html'),
('About the campus','/pages/ecl3.html'),
]),
('PHD Help',[
('Latex Templates','/pages/aide1.html'),
('New Phd student guide','/pages/aide2.html'),
])],
'LANG_ATOM_FEED_PATH': 'en/feeds/articles.atom.xml'
}
}
main_lang = 'fr'
# Feed generation is usually not desired when developing
#FEED_ALL_ATOM = 'feeds/all.atom.xml'
LANG_ATOM_FEED_PATH = 'feeds/articles.atom.xml'
FEED_ALL_ATOM = None
CATEGORY_FEED_ATOM = None
TRANSLATION_FEED_ATOM = LANG_ATOM_FEED_PATH
# TODO: allow generating the -en feed, and disable the above one
AUTHOR_FEED_ATOM = None
AUTHOR_FEED_RSS = None
STATIC_PATHS = ['images','static']
# Blogroll
LINKS = (('Pelican', 'http://getpelican.com/'),
('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 = 10
THEME = './chameleon'
BS3_THEME = 'https://netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css'
MENUITEMS=[
("L\'association",[
('Qui sommes nous?','/pages/assoc1.html'),
('Sport','/pages/assoc2.html'),
('Formation Transversale','/pages/assoc3.html'),
('Nous contacter','/pages/assoc4.html'),
('Le site web','/pages/assoc5.html'),
]),
('La thèse en bref',[
('Qu\'est-ce qu\'être un doctorant?','/pages/bref1.html' ),
('Témoignages','/pages/bref2.html' ),
('Autour de la thèse','/pages/bref3.html' ),
]),
('L\'École Centrale Lyon',[
('CRIEC','/pages/ecl1.html'),
('Les doctorants au quotidien','/pages/ecl2.html'),
('Sur le campus','/pages/ecl3.html'),
]),
('Aide au doctorat',[
('Templates Latex','/pages/aide1.html'),
('Guide du nouveau doctorant','/pages/aide2.html'),
])]
#LOAD_CONTENT_CACHE = False
#OUTPUT_PATH = 'www/'
# Uncomment following line if you want document-relative URLs when developing
RELATIVE_URLS = True