From e7a2a6cac3589ef5c597993a20c9356c1813f685 Mon Sep 17 00:00:00 2001
From: Simple_Not <44047940+moonbaseDelta@users.noreply.github.com>
Date: Mon, 3 Jul 2023 23:28:41 +1000
Subject: [PATCH] some structure
---
app.py | 6 +++---
static/src/vdk2ch.css | 0
templates/base.html | 8 ++++----
3 files changed, 7 insertions(+), 7 deletions(-)
create mode 100644 static/src/vdk2ch.css
diff --git a/app.py b/app.py
index 70d9b5d..f89689d 100644
--- a/app.py
+++ b/app.py
@@ -10,14 +10,14 @@ import socket
app = Flask(__name__)
assets = Environment(app)
-#css = Bundle("src/main.css", output="dist/main.css")
+css = Bundle("src/*.css", output="dist/main.css")
# https://unpkg.com/htmx.org
js = Bundle("src/*.js", output="dist/main.js")
-#assets.register("css", css)
+assets.register("css", css)
assets.register("js", js)
-#css.build()
+css.build()
js.build()
diff --git a/static/src/vdk2ch.css b/static/src/vdk2ch.css
new file mode 100644
index 0000000..e69de29
diff --git a/templates/base.html b/templates/base.html
index 8245e12..f6cfaa8 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -4,12 +4,12 @@
-
-
-
+ {% endassets %}
+
{% assets 'js' %}
{% endassets %}