Flask now serves CSS

This commit is contained in:
Justus Grunow 2025-01-28 07:03:53 -05:00
parent 43788b8f85
commit 7316daa317
3 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ if (__name__ == 'build'):
from flask import Flask from flask import Flask
app = Flask(__name__) app = Flask(__name__)
@app.route("/") @app.route("/")
def serveMenu(): def serveMenu():
return generateMenu()['menuHtml'] return generateMenu()['menuHtml']

View File

@ -1,7 +1,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<link rel="stylesheet" href="style.css"> <link rel="stylesheet" href="static/style.css">
<title>{% block title %}{% endblock %}</title> <title>{% block title %}{% endblock %}</title>
</head> </head>
<body class="{% block bodyclass %}{% endblock %}"> <body class="{% block bodyclass %}{% endblock %}">