diff --git a/README.rst b/README.rst index 7a6abbf..bba1209 100644 --- a/README.rst +++ b/README.rst @@ -144,6 +144,12 @@ Main Navigation (menu bar) - ``MENUITEMS_AFTER``: ``()`` show static links (after categories) e.g.: ``MENUITEMS_AFTER = ( ('link2', '/static/file2.pdf'), )`` +Custom CSS +---------- + +- ``CUSTOM_CSS_FILE``: ``filename_path`` Specify a custom CSS file to be applied + to all pages, e.g.: ``CUSTOM_CSS_FILE = 'static/css/custom.css'`` + Markup for Social Sharing ------------------------- diff --git a/templates/_includes/sidebar.html b/templates/_includes/sidebar.html index dd80fc9..e24bdaa 100644 --- a/templates/_includes/sidebar.html +++ b/templates/_includes/sidebar.html @@ -14,7 +14,7 @@

Recent Posts

{% endfor %} - {% if categories %} + {% if categories and DISPLAY_CATEGORIES_ON_MENU %}

Categories

diff --git a/templates/base.html b/templates/base.html index a4932e5..63eccec 100644 --- a/templates/base.html +++ b/templates/base.html @@ -53,6 +53,10 @@ + {% if CUSTOM_CSS_FILE %} + + {% endif %}