aboutsummaryrefslogtreecommitdiff
path: root/pelicanconf.py
diff options
context:
space:
mode:
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'
+# }
+# }