Adrianux.net/app.py

18 lines
423 B
Python
Executable file

#!/usr/bin/env python3
from flask import Flask, render_template, redirect, url_for
app = Flask(__name__)
navigation = {"Imprint":"imprint"}
@app.route("/imprint")
def root():
return render_template("imprint.html")
@app.route("/about")
def about():
return render_template("about.html")
@app.route("/")
def homepage():
return render_template("homepage.html")
if __name__ == "__main__":
app.run(debug=True)