moved js loading to .layout
This commit is contained in:
parent
e1731347bd
commit
2dd0f8caa4
@ -10,4 +10,7 @@
|
|||||||
<body class="content-center justify-center p-2 m-2 font-mono text-white bg-slate-800">
|
<body class="content-center justify-center p-2 m-2 font-mono text-white bg-slate-800">
|
||||||
{% block body %} {% endblock %}
|
{% block body %} {% endblock %}
|
||||||
</body>
|
</body>
|
||||||
|
{% for file in js_files %}
|
||||||
|
<script src="{{ url_for('static', filename='js/' + file) }}"></script>
|
||||||
|
{% endfor %}
|
||||||
</html>
|
</html>
|
||||||
|
@ -67,6 +67,4 @@
|
|||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% for file in js_files %}
|
{% endblock %}
|
||||||
<script src="{{ url_for('static', filename='js/' + file) }}"></script>
|
|
||||||
{% endfor %} {% endblock %}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user