add: templates

This commit is contained in:
ahoemann 2024-11-12 16:44:04 +01:00
commit 9f64e5d9a0
3 changed files with 47 additions and 0 deletions

13
app.py Executable file
View file

@ -0,0 +1,13 @@
from flask import Flask, render_template, redirect, url_for
app = Flask(__name__)
@app.route("/" or "/index.html")
def root():
return render_template("template.html",page = "Page")
@app.route("/imprint.html")
def imprint():
return render_template("template.html",page = "Imprint")