diff options
Diffstat (limited to 'pelicanconf.py')
-rwxr-xr-x | pelicanconf.py | 54 |
1 files changed, 38 insertions, 16 deletions
diff --git a/pelicanconf.py b/pelicanconf.py index 9e4ca35..744f347 100755 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -34,33 +34,55 @@ ARTICLE_SAVE_AS = u'{date:%Y}/{date:%m}/{slug}/index.html' STATIC_SAVE_AS=u'{path}' -THEME = 'theme' +THEME= 'Flex' +PYGMENTS_STYLE = "monokai" +SITELOGO= '/images/profile.png' +SITETITLE= 'Chimrod' +DEFAULT_LANG = "fr_FR" +CUSTOM_CSS='custom.css' +#SITESUBTITLE= 'Un site d\'informatique' +MAIN_MENU=True +LINKS= ( ("git","http://git.chimrod.com") + , ) +HOME_HIDE_TAGS=False +I18N_TEMPLATES_LANG = "en" +DEFAULT_LANG = "fr_FR" +LOCALE="fr_FR" + TYPOGRIFY = False TEMPLATE_PAGES = {'../extras/404.html': '404.html'} -STATIC_PATHS = [ - 'images', - 'resources', - '../extras/robots.txt', - '../extras/htaccess', - ] +STATIC_PATHS = \ + ( 'images' + , 'resources' + , '../extras/robots.txt' + , '../extras/htaccess' + , '../extras/custom.css' + ) -EXTRA_PATH_METADATA = { - '../extras/robots.txt': {'path': 'robots.txt'}, - '../extras/htaccess': {'path': '.htaccess'}, - } +EXTRA_PATH_METADATA = \ + { '../extras/robots.txt': \ + {'path': 'robots.txt'} + , '../extras/htaccess': \ + {'path': '.htaccess'} + , '../extras/custom.css': \ + {'path': 'custom.css'}} PLUGIN_PATHS = ['plugins'] -PLUGINS = ['related_posts', 'typogrify'] + +PLUGINS = \ + ( 'related_posts' + , 'typogrify' + , 'i18n_subsites' ) RELATED_POSTS_IGNORE_TAGS = ["Libre"] SUMMARY_MAX_LENGTH=100 -DOCUTILS_SETTINGS={ - "footnote_references":'superscript', - 'strip_comments': 'True' - } +DOCUTILS_SETTINGS = \ + { "footnote_references":'superscript' + , 'strip_comments': 'True' } +JINJA_ENVIRONMENT = {'extensions': ['jinja2.ext.i18n']} |