equal
deleted
inserted
replaced
96 def coursematerial(): |
96 def coursematerial(): |
97 return render_template(get_locale() + "/coursematerial.html", act="coursematerial") |
97 return render_template(get_locale() + "/coursematerial.html", act="coursematerial") |
98 |
98 |
99 @app.route("/imprint") |
99 @app.route("/imprint") |
100 def imprint(): |
100 def imprint(): |
101 return render_template(get_locale() + "/imprint.html", act="imprint") |
101 filename = os.path.join("templates", get_locale(), "rst", "imprint.rst") |
|
102 content = get_content(filename) |
|
103 return render_template("/imprint.html", act="imprint", content=content) |
102 |
104 |
103 @app.route("/privacy") |
105 @app.route("/privacy") |
104 def privacy(): |
106 def privacy(): |
105 return render_template(get_locale() + "/privacy.html", act="privacy") |
107 return render_template(get_locale() + "/privacy.html", act="privacy") |
106 |
108 |