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 %}