diff --git a/pelicanconf.py b/pelicanconf.py index 88c871d..d339b53 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -22,7 +22,7 @@ THEME_TEMPLATES_OVERRIDES = [os.path.dirname(__file__)] # Plugins PLUGIN_PATHS = ['./plugins/'] -PLUGINS = ['i18n_subsites'] +PLUGINS = ['i18n_subsites',] # Static paths PATH = 'content' @@ -32,13 +32,16 @@ TIMEZONE = 'Europe/Paris' #LANG DEFAULT_LANG = 'en' -DEFAULT_DATE_FORMAT = '%Y.%m.%d' +LOCALE = 'en_GB.UTF-8' +DEFAULT_DATE_FORMAT = '%A, %B %d, %Y' I18N_SUBSITES = { - 'fr': { - 'SITENAME': 'Le blog de fmouhart', - 'FOOTER_INCLUDE' : 'myfooter-fr.html', - } - } + 'fr': { + 'SITENAME': 'Le blog de fmouhart', + 'FOOTER_INCLUDE' : 'myfooter-fr.html', + 'LOCALE' : 'fr_FR.UTF-8', + 'DEFAULT_DATE_FORMAT' : '%A %d %B %Y', + } + } # Social widget SOCIAL = ()