Fix assets in horde-map template

master
Nikola Forró 6 years ago
parent be5ab0ffde
commit 64d1ab7b59

@ -5,6 +5,7 @@
{% do assets.addJs('https://cdn.rawgit.com/openlayers/openlayers.github.io/master/en/v5.3.0/build/ol.js') %} {% do assets.addJs('https://cdn.rawgit.com/openlayers/openlayers.github.io/master/en/v5.3.0/build/ol.js') %}
{% do assets.addJs('https://cdn.jsdelivr.net/gh/dusterthefirst/Login-With-Discord/dist/lwd.js') %} {% do assets.addJs('https://cdn.jsdelivr.net/gh/dusterthefirst/Login-With-Discord/dist/lwd.js') %}
{% do assets.addJs('https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js') %} {% do assets.addJs('https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js') %}
{% do assets.addJs('/horde-map/assets/map.js', {group: 'bottom'}) %}
{{ parent() }} {{ parent() }}
@ -18,15 +19,6 @@
{% endblock %} {% endblock %}
{% block bottom %}
{{ parent() }}
{% do assets.addJs('/horde-map/assets/map.js') %}
{{ assets.js() }}
{% endblock %}
{% block content %} {% block content %}
{{ page.content }} {{ page.content }}

Loading…
Cancel
Save