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">
|
||||
{% block body %} {% endblock %}
|
||||
</body>
|
||||
{% for file in js_files %}
|
||||
<script src="{{ url_for('static', filename='js/' + file) }}"></script>
|
||||
{% endfor %}
|
||||
</html>
|
||||
|
@ -67,6 +67,4 @@
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
{% for file in js_files %}
|
||||
<script src="{{ url_for('static', filename='js/' + file) }}"></script>
|
||||
{% endfor %} {% endblock %}
|
||||
{% endblock %}
|
||||
|
Loading…
Reference in New Issue
Block a user