From 2dd0f8caa4ebcf677dde1a29a8f2546f4903e1ce Mon Sep 17 00:00:00 2001 From: 0ceanSlim Date: Mon, 5 Feb 2024 10:50:20 -0500 Subject: [PATCH] moved js loading to .layout --- templates/.layout.html | 3 +++ templates/app.html | 4 +--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/templates/.layout.html b/templates/.layout.html index 3983e7d..38857d5 100644 --- a/templates/.layout.html +++ b/templates/.layout.html @@ -10,4 +10,7 @@ {% block body %} {% endblock %} + {% for file in js_files %} + +{% endfor %} diff --git a/templates/app.html b/templates/app.html index e127af3..281b3d5 100644 --- a/templates/app.html +++ b/templates/app.html @@ -67,6 +67,4 @@ -{% for file in js_files %} - -{% endfor %} {% endblock %} +{% endblock %}