50 |
50 |
51 @app.route("/privacy") |
51 @app.route("/privacy") |
52 def privacy(): |
52 def privacy(): |
53 return render_template(get_locale() + "/privacy.html", act="privacy") |
53 return render_template(get_locale() + "/privacy.html", act="privacy") |
54 |
54 |
|
55 |
55 @app.route(_("/competition-2013")) |
56 @app.route(_("/competition-2013")) |
56 def competition_2013(): |
57 def competition_2013(): |
57 return render_template(get_locale() + "/archive/competitions/2013/comptetition_2013.html", |
58 return render_template(get_locale() + "/archive/competitions/2013/comptetition_2013.html", |
58 act="coursematerial") |
59 act="coursematerial") |
59 |
60 |
60 @app.route(_("/competition-2014")) |
61 @app.route(_("/competition-2014")) |
61 def competition_2014(): |
62 def competition_2014(): |
62 return render_template(get_locale() + "archive/competitions/2014/competition_2014.html", |
63 return render_template(get_locale() + "archive/competitions/2014/competition_2014.html", |
63 act="coursematerial") |
64 act="coursematerial") |
|
65 |
|
66 @app.route(_("/dates")) |
|
67 def dates(): |
|
68 return render_template(get_locale() + "/dates.html", |
|
69 act="dates") |
|
70 |
64 |
71 |
65 @app.errorhandler(404) |
72 @app.errorhandler(404) |
66 def page_not_found(e): |
73 def page_not_found(e): |
67 return render_template(get_locale() + "/404.html") |
74 return render_template(get_locale() + "/404.html") |
68 |
75 |