diff --git a/README.md b/README.md index 80bfc09..1a4987a 100644 --- a/README.md +++ b/README.md @@ -46,6 +46,20 @@ To customize, define ``COLOR_SCHEME_CSS`` in ``pelicanconf.py`` with css filenam COLOR_SCHEME_CSS = 'monokai.css' ``` +### User defined CSS + +Define ``CSS_OVERRIDE`` in ``pelicanconf.py`` to insert a user defined CSS file +after theme CSS. Example: + +```python +CSS_OVERRIDE = 'myblog.css' +``` + +### Disable theme JavaScript + +Set ``DISABLE_CUSTOM_THEME_JAVASCRIPT`` to True if you want to disable +``js/clean-blog.min.js`` in case it affects forms and input fields. + ### Analytics Accept many analytics: diff --git a/templates/base.html b/templates/base.html index 92c9940..634e7c8 100644 --- a/templates/base.html +++ b/templates/base.html @@ -49,6 +49,11 @@ {% endif %} + {% if CSS_OVERRIDE %} + + + {% endif %} + @@ -128,6 +133,7 @@
@@ -166,8 +177,10 @@ - - + {% if not DISABLE_CUSTOM_THEME_JAVASCRIPT %} + + + {% endif %} {% include 'analytics.html' %} {% include 'disqus_script.html' %}