theme selection should now take into account site root

This commit is contained in:
unknown 2020-05-10 11:36:27 +01:00
parent 7bfb5ac4b4
commit cbbd0ea31b
7 changed files with 16 additions and 12 deletions

View file

@ -20,6 +20,9 @@
<!-- This script must follow css -->
{% if config.extra.zulma_allow_theme_selection %}
<script type="text/javascript" src="{{ get_url(path="js/zulma_switchcss.js") }}"></script>
<script>
switch_css.init("{{config.base_url | safe}}");
</script>
{% endif %}
{% if config.generate_rss %}