Move JS into pre and post loading folders

This commit is contained in:
Michał Gdula 2023-04-03 00:43:21 +00:00
parent 266e959605
commit 654ab0eba3
7 changed files with 13 additions and 7 deletions

View file

@ -29,7 +29,7 @@
<link rel="stylesheet" href="{{url_for('static', filename='theme/style.css')}}" defer>
{% assets "js_all" %}
{% assets "js_pre" %}
<script type="text/javascript" src="{{ ASSET_URL }}"></script>
{% endassets %}
@ -152,6 +152,10 @@
{% endfor %}
</script>
{% assets "js_post" %}
<script type="text/javascript" src="{{ ASSET_URL }}"></script>
{% endassets %}
{% block script %}{% endblock %}
</body>
</html>