From 1b930951e7c6457edd87cda62653be1e71e293e9 Mon Sep 17 00:00:00 2001 From: Vitaly Potyarkin Date: Wed, 22 Jan 2020 12:25:10 +0300 Subject: [PATCH] Allow overriding bundled FontAwesome CSS with CDN URL --- README.md | 2 ++ alchemy/templates/base.html | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index dddbdc0..d0a33b9 100644 --- a/README.md +++ b/README.md @@ -123,6 +123,8 @@ Visit the [Settings docs](docs/settings.md) for examples: - **FOOTER_LINKS**: A list of tuples (Title, URL) for footer links. Replaces default set of links (Authors, Archives, Categories, Tags). - **BOOTSTRAP_CSS**: URL of Bootstrap CSS file. Use this to enable Boostwatch themes. +- **FONTAWESOME_CSS**: URL of Font Awesome CSS file. Use this if you wish to + use CDN provided version instead of the bundled one. - **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. diff --git a/alchemy/templates/base.html b/alchemy/templates/base.html index 066cf4c..7d58b69 100644 --- a/alchemy/templates/base.html +++ b/alchemy/templates/base.html @@ -27,13 +27,12 @@ {% endif %} - + {% for stylesheet in THEME_CSS_OVERRIDES or () %} {% endfor %} - {% include 'include/xml_feeds.html' %} {% block head %}{% endblock %}