aboutsummaryrefslogtreecommitdiff
path: root/pelicanconf.py
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@dailly.me>2024-06-19 14:44:10 +0200
committerSébastien Dailly <sebastien@dailly.me>2024-06-19 14:44:10 +0200
commite0a989555b6bef9173088da9e0b980338a88ce0c (patch)
tree3e35bc65664e881d62cf14970d482884b80289f7 /pelicanconf.py
parent3b3c4db1bdd29b46a23051fc5427197ce2831764 (diff)
Swiched the theme to bulma-css
Diffstat (limited to 'pelicanconf.py')
-rwxr-xr-xpelicanconf.py20
1 files changed, 7 insertions, 13 deletions
diff --git a/pelicanconf.py b/pelicanconf.py
index 47af293..b6e7255 100755
--- a/pelicanconf.py
+++ b/pelicanconf.py
@@ -35,9 +35,9 @@ ARTICLE_SAVE_AS = u'{date:%Y}/{date:%m}/{slug}/index.html'
STATIC_SAVE_AS=u'{path}'
# THEME
-THEME= 'theme/Flex'
+THEME= 'theme/bulma/'
PYGMENTS_STYLE = "monokai"
-SITELOGO= '/images/profile.png'
+SITELOGO= '/images/profile.webp'
SITETITLE= 'Chimrod'
SITESUBTITLE = 'Des glyphes <span class="amp">&</span> du code'
MAIN_MENU=False
@@ -47,7 +47,7 @@ DISABLE_URL_HASH=True
THEME_TEMPLATES_OVERRIDES = \
- [ 'theme/custom' ]
+ [ ]
LINKS= ( ("Git", "http://git.chimrod.com")
@@ -68,7 +68,6 @@ STATIC_PATHS = \
EXTRA_PATH_METADATA = \
{ 'extras/robots.txt': {'path': 'robots.txt'}
, 'extras/htaccess': {'path': '.htaccess' }
- , 'extras/style.min.css': {'path': 'theme/stylesheet/style.min.css'}
, 'resources/viz.js/worker.js': {'path': 'resources/viz.js/worker.js'}
, 'resources/viz.js/convert.js': {'path': 'resources/viz.js/convert.js'}
, 'resources/viz.js/full.render.js': {'path': 'resources/viz.js/full.render.js'}
@@ -94,13 +93,8 @@ DOCUTILS_SETTINGS = \
, 'strip_comments': 'True' }
JINJA_ENVIRONMENT = {'extensions': ['jinja2.ext.i18n']}
+LOCALE = ('fr_FR.utf8', )
-# Les sous-sites ne sont pas activés, il faudrait flaguer l'intégralité des
-# articles avec le tag `lang` car ils sont actuellement dupliqués
-
-#I18N_SUBSITES = \
-# { 'en' :
-# # On référence le thème dans le répertoire parent
-# { 'CUSTOM_CSS':'../theme/custom.css'
-# }
-# }
+DATE_FORMATS = {
+ 'fr': '%d %b %Y',
+}