Use sri_static tag for dark mode
This commit is contained in:
parent
7ed5255b69
commit
bb8c40f72e
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@
|
|||
<script async defer type="text/javascript" src="{% static 'contrib/htmx/htmx.min.js' %}" integrity="{% sri_integrity_static 'contrib/htmx/htmx.min.js' %}"></script>
|
||||
|
||||
{# Not async to avoid bright flashes #}
|
||||
<script type="text/javascript" src="{% static 'js/dark-mode.js' %}" integrity="{% sri_integrity_static 'js/dark-mode.js' %}"></script>
|
||||
{% sri_static "js/dark-mode.js" %}
|
||||
|
||||
{% block extra_js %}{% endblock %}
|
||||
|
||||
|
|
Loading…
Reference in a new issue