~fluix/tilde

ref: d3f4453731c038fdc1d5b588cfbece485406dd8c tilde/flatpages/views.py -rw-r--r-- 693 bytes
d3f44537Steven Guikal Switch to SQLAlchemy database instead of Redis 9 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
from flask import Blueprint, render_template

flatpages = Blueprint("flatpages", __name__, template_folder="templates")


@flatpages.route("/")
def index():
    return render_template("index.html")


@flatpages.route("/chat")
def chat():
    return render_template("chat.html")


@flatpages.route("/talk")
def talk():
    return render_template("talk.html")


@flatpages.route("/coc")
def coc():
    return render_template("coc.html")


@flatpages.route("/privacy")
def privacy():
    return render_template("privacy.html")


@flatpages.route("/help")
def help():
    return render_template("help.html")


@flatpages.route("/contact")
def contact():
    return render_template("contact.html")