diff --git a/README.md b/README.md index 6bc5787..eb8c8b8 100644 --- a/README.md +++ b/README.md @@ -123,6 +123,9 @@ Visit the [Settings wiki](https://github.com/nairobilug/pelican-alchemy/wiki/Set - **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. +- **THEME_JS_OVERRIDES**: Sequence of JavaScript URLs to enable with this + theme. Alchemy uses no JS by default. Both relative and absolute URLs are + supported. Misc settings: diff --git a/alchemy/templates/base.html b/alchemy/templates/base.html index 681f92e..df01c38 100644 --- a/alchemy/templates/base.html +++ b/alchemy/templates/base.html @@ -59,6 +59,10 @@ {% include 'include/footer.html' %} + + {% for script in THEME_JS_OVERRIDES or () %} + + {% endfor %}