mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2026-02-04 06:06:19 +01:00
include js_template not css
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
{% load static %}
|
{% load static %}
|
||||||
<!-- allianceauth.theme.{{ theme.name }} JS -->
|
<!-- allianceauth.theme.{{ theme.name }} JS -->
|
||||||
{% if theme.js_template %}
|
{% if theme.js_template %}
|
||||||
{% include theme.css_template %}
|
{% include theme.js_template %}
|
||||||
{% else %}
|
{% else %}
|
||||||
{% for x in theme.js %}
|
{% for x in theme.js %}
|
||||||
<script src="{{ x.url }}" integrity="{{ x.integrity }}" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
|
<script src="{{ x.url }}" integrity="{{ x.integrity }}" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
|
||||||
|
|||||||
Reference in New Issue
Block a user