mirror of
https://github.com/Lynnesbian/FediBooks/
synced 2024-11-04 23:58:58 +00:00
19 lines
415 B
Python
19 lines
415 B
Python
from flask import Flask, render_template
|
|
|
|
app = Flask(__name__)
|
|
|
|
@app.route("/")
|
|
def hello():
|
|
return render_template("front_page.html")
|
|
|
|
@app.route("/welcome")
|
|
def welcome():
|
|
return render_template("welcome.html")
|
|
|
|
@app.route("/login")
|
|
def show_login_page():
|
|
return render_template("login.html", signup = False)
|
|
|
|
@app.route("/signup")
|
|
def show_signup_page():
|
|
return render_template("login.html", signup = True)
|