Commit a4a8290d authored by inso's avatar inso

Back to python2 on new server

parent 1130cefb
......@@ -11,7 +11,7 @@ echo "Prégénération de la licence dans le wiki"
python replace.py
echo "Génération du site"
pelican -s publishconf.py
pelican -s publishconf.py --debug
echo "Copie des fichiers…"
mkdir -p ../fr
......
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
from jinja2 import Environment
import gettext
# AUTHOR = u'Duniter'
SITENAME = u'Duniter'
......@@ -42,10 +44,6 @@ PYGMENTS_STYLE = 'default'
PATH_METADATA = 'pages/(?P<path>.*)\..*'
JINJA_EXTENSIONS = ['jinja2.ext.i18n']
JINJA_ENVIRONMENT = {
'extensions': JINJA_EXTENSIONS.copy() # latest pelican version
}
I18N_SUBSITES = {
}
......
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