diff -r 08118e85dbb5 -r 9d02dff93fce pymove3d.py --- a/pymove3d.py Sun Jan 19 19:18:27 2014 +0100 +++ b/pymove3d.py Sun Jan 19 19:47:16 2014 +0100 @@ -132,9 +132,10 @@ @app.route("/competition/2013") def competition_2013(): - print get_locale() + "/archive/competitions/2013/index.html" - return render_template(get_locale() + "/archive/competitions/2013/index.html", - act="coursematerial") + filename = os.path.join("templates", get_locale(), "archive", "competitions", "2013", "rst", "2013.rst") + content = get_content(filename) + return render_template("/impressions_2013.html", + act="competition_2013", content=content) @app.route("/competition/2014") def competition_2014():