Flask now serves CSS
This commit is contained in:
parent
43788b8f85
commit
7316daa317
2
build.py
2
build.py
@ -29,7 +29,7 @@ if (__name__ == 'build'):
|
||||
from flask import Flask
|
||||
|
||||
app = Flask(__name__)
|
||||
|
||||
|
||||
@app.route("/")
|
||||
def serveMenu():
|
||||
return generateMenu()['menuHtml']
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<link rel="stylesheet" href="static/style.css">
|
||||
<title>{% block title %}{% endblock %}</title>
|
||||
</head>
|
||||
<body class="{% block bodyclass %}{% endblock %}">
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user