~fluix/tilde

ref: f930711f0b2fa960868f1d1f8d9fbf1fb6519fed tilde/flatpages/views.py -rw-r--r-- 799 bytes
f930711fSteven Guikal Add necessary SPDX headers for REUSE 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
39
40
41
42
# SPDX-FileCopyrightText: 2021 Steven Guikal <void@fluix.one>
#
# SPDX-License-Identifier: AGPL-3.0-only

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")