include js_template not css

This commit is contained in:
Ariel Rin 2023-11-09 18:25:21 +10:00
parent 5de19c43df
commit 02ab064ec3
No known key found for this signature in database

View File

@ -1,7 +1,7 @@
{% load static %}
<!-- allianceauth.theme.{{ theme.name }} JS -->
{% if theme.js_template %}
{% include theme.css_template %}
{% include theme.js_template %}
{% else %}
{% for x in theme.js %}
<script src="{{ x.url }}" integrity="{{ x.integrity }}" crossorigin="anonymous" referrerpolicy="no-referrer"></script>