-
Notifications
You must be signed in to change notification settings - Fork 0
/
views.py
62 lines (44 loc) · 1.36 KB
/
views.py
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
from flask import send_from_directory, send_file
from flask_app import app
from flask.templating import render_template
# Routing voor de Nederlandstalige pagina's.
@app.route('/')
@app.route('/index')
def index():
return render_template("index.html")
@app.route('/nieuws')
def nieuws():
return render_template("nieuws.html")
@app.route('/nieuws/<item>')
def nieuwsitem(item):
return render_template("nieuws/" + item + ".html")
@app.route('/dojo/info')
def info():
return render_template("dojo/info.html")
@app.route('/dojo/kalender')
def kalender():
return render_template("dojo/kalender.html")
@app.route('/dojo/fotoalbum')
def fotoalbum():
return render_template("dojo/fotoalbum.html")
@app.route('/kyokushin/geschiedenis')
def geschiedenis():
return render_template("kyokushin/geschiedenis.html")
@app.route('/kyokushin/spirit')
def spirit():
return render_template("kyokushin/spirit.html")
@app.route('/kyokushin/kihon')
def kihon():
return render_template("kyokushin/kihon.html")
@app.route('/kyokushin/kata')
def kata():
return render_template("kyokushin/kata.html")
@app.route('/kyokushin/kumite')
def kumite():
return render_template("kyokushin/kumite.html")
@app.route('/sponsors')
def sponsors():
return render_template("sponsors.html")
@app.route('/links')
def links():
return render_template("links.html")