diff -r fe7b685bf6ed -r 74c4a410b913 pymove3d.py --- a/pymove3d.py Sun Jan 19 12:38:29 2014 +0100 +++ b/pymove3d.py Sun Jan 19 12:53:41 2014 +0100 @@ -86,7 +86,9 @@ @app.route("/task") def task(): - return render_template(get_locale() + "/task.html", act="task") + filename = os.path.join("templates", get_locale(), "rst", "task.rst") + content = get_content(filename) + return render_template("/task.html", act="task", content=content) @app.route("/submission") def submission():