aboutsummaryrefslogtreecommitdiff
path: root/pelicanconf.py
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@chimrod.com>2021-01-04 13:40:21 +0100
committerSébastien Dailly <sebastien@chimrod.com>2021-01-05 11:06:20 +0100
commit1cad4c9044d47c6653d804d7fb58581d92f96cc8 (patch)
tree9696b75a4288976a00dbfc694090768ac93cdd14 /pelicanconf.py
parent0c09a00a0b298cbd3bbd0082cc1026e22db9b1c5 (diff)
Change organisation
Diffstat (limited to 'pelicanconf.py')
-rwxr-xr-xpelicanconf.py32
1 files changed, 18 insertions, 14 deletions
diff --git a/pelicanconf.py b/pelicanconf.py
index a572382..0bad910 100755
--- a/pelicanconf.py
+++ b/pelicanconf.py
@@ -34,36 +34,30 @@ ARTICLE_SAVE_AS = u'{date:%Y}/{date:%m}/{slug}/index.html'
STATIC_SAVE_AS=u'{path}'
-THEME= 'Flex'
+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'
+CUSTOM_CSS='theme/custom.css'
MAIN_MENU=True
LINKS= ( ("git","http://git.chimrod.com")
, )
HOME_HIDE_TAGS=False
-I18N_TEMPLATES_LANG = "en"
-DEFAULT_LANG = "fr_FR"
+I18N_TEMPLATES_LANG = "fr_FR"
LOCALE="fr_FR"
TYPOGRIFY = False
-TEMPLATE_PAGES = {'../extras/404.html': '404.html'}
STATIC_PATHS = \
( 'images'
- , '../extras/robots.txt'
- , '../extras/htaccess'
- , '../extras/custom.css'
- , 'pages/script.it'
+ , 'extras'
+ , 'pages'
)
EXTRA_PATH_METADATA = \
- { '../extras/robots.txt': {'path': 'robots.txt'}
- , '../extras/htaccess': {'path': '.htaccess'}
- , '../extras/custom.css': {'path': 'custom.css'}
+ { 'extras/robots.txt': {'path': 'robots.txt'}
+ , 'extras/htaccess': {'path': '.htaccess' }
+ , 'extras/custom.css': {'path': 'theme/custom.css'}
}
PLUGIN_PATHS = ['plugins']
@@ -84,3 +78,13 @@ DOCUTILS_SETTINGS = \
, 'strip_comments': 'True' }
JINJA_ENVIRONMENT = {'extensions': ['jinja2.ext.i18n']}
+
+# 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'
+# }
+# }