diff --git a/README.md b/README.md index 9d1c80f..491bb61 100644 --- a/README.md +++ b/README.md @@ -60,6 +60,8 @@ Visit the [Settings wiki](https://github.com/nairobilug/pelican-alchemy/wiki/Set - **PYGMENTS_STYLE**: Built-in Pygments style for syntax highlighting. - **HIDE_AUTHORS**: Hide the author(s) of an article - useful for single author sites. - **RFG_FAVICONS**: Use a Favicon Generator package. +- **THEME_CSS_OVERRIDES**: Sequence of stylesheet URLs to override CSS provided by theme. + Both relative and absolute URLs are supported. Misc settings: diff --git a/alchemy/templates/base.html b/alchemy/templates/base.html index 97e323a..ba8b07a 100644 --- a/alchemy/templates/base.html +++ b/alchemy/templates/base.html @@ -21,6 +21,13 @@ + {% for stylesheet in THEME_CSS_OVERRIDES or () %} + {% if stylesheet|lower|truncate(4, True, '') == 'http' %} + + {% else %} + + {% endif %} + {% endfor %} {% include 'include/xml_feeds.html' %} {% block head %}{% endblock %}