made theme switching better
This commit is contained in:
parent
dc3d52a7cb
commit
df5fc9890b
4 changed files with 20 additions and 18 deletions
|
@ -28,10 +28,10 @@
|
|||
{% if config.build_search_index %}
|
||||
<script defer type="text/javascript" src="{{ get_url(path="elasticlunr.min.js") }}"></script>
|
||||
<script defer type="text/javascript" src="{{ get_url(path="search_index.en.js") }}"></script>
|
||||
{% endif %}
|
||||
{% if config.extra.zulma_allow_theme_selection %}
|
||||
<script type="text/javascript" src="{{ get_url(path="js/switchcss.js") }}"></script>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endblock js %}
|
||||
|
||||
{% block extra_head %}
|
||||
|
@ -52,6 +52,7 @@
|
|||
</head>
|
||||
|
||||
<body>
|
||||
{% block body%}
|
||||
{% block content %}
|
||||
<!-- START NAV -->
|
||||
{% block header %}
|
||||
|
@ -87,6 +88,8 @@
|
|||
{% if config.build_search_index %}
|
||||
<script type="text/javascript" src="{{ get_url(path="js/search.js") }}"></script>
|
||||
{% endif %}
|
||||
|
||||
{% endblock body%}
|
||||
</body>
|
||||
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue