Verified Commit 81502b1e authored by Luke Marlin's avatar Luke Marlin
Browse files

Improve pelicanconf.py

 * Move from JINJA_EXTENSIONS to JINJA_ENVIRONMENT
 * Remove non existing menu item /contact
 * Fix mastodon URL
parent dc20a4c2
......@@ -40,7 +40,8 @@ PYGMENTS_STYLE = 'default'
PATH_METADATA = 'pages/(?P<path>.*)\..*'
JINJA_EXTENSIONS = ['jinja2.ext.i18n']
JINJA_ENVIRONMENT = {"extensions": ['jinja2.ext.i18n']}
I18N_SUBSITES = {
}
......@@ -69,7 +70,6 @@ LINKS = (('duniter.org', 'https://duniter.org/'),
ACCEPTED_MENUS = ['introduction',
'get-g1',
'contribute',
'contact',
'wiki',
'about',]
......@@ -77,7 +77,7 @@ ACCEPTED_MENUS = ['introduction',
SOCIAL = (('Forum', 'https://forum.duniter.org', 'comment'),
('Salon XMPP', 'https://chat.duniter.org', 'comments'),
('Bugs', '/fr/wiki/rapporter-un-bug', 'bug'),
('Mastodon', 'ihttps://mastodon.xyz/@duniter', 'globe'),
('Mastodon', 'https://mastodon.xyz/@duniter', 'globe'),
('Gitlab', 'https://git.duniter.org/'),
('GitHub', 'https://github.com/duniter'),
('Diaspora', 'https://framasphere.org/people/1949ee70f6bc0134e6b32a0000053625', 'asterisk'),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment