From 7316daa3177d84a93cb5c113ac39cb88e126f303 Mon Sep 17 00:00:00 2001 From: Justus Grunow Date: Tue, 28 Jan 2025 07:03:53 -0500 Subject: [PATCH] Flask now serves CSS --- build.py | 2 +- style.css => static/style.css | 0 templates/base.html | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename style.css => static/style.css (100%) diff --git a/build.py b/build.py index fb74fd0..b0ad9c0 100755 --- a/build.py +++ b/build.py @@ -29,7 +29,7 @@ if (__name__ == 'build'): from flask import Flask app = Flask(__name__) - + @app.route("/") def serveMenu(): return generateMenu()['menuHtml'] diff --git a/style.css b/static/style.css similarity index 100% rename from style.css rename to static/style.css diff --git a/templates/base.html b/templates/base.html index 7cf1b5e..7850062 100644 --- a/templates/base.html +++ b/templates/base.html @@ -1,7 +1,7 @@ - + {% block title %}{% endblock %}