equal
deleted
inserted
replaced
124 return render_template("/content.html", |
124 return render_template("/content.html", |
125 act="dates", content=content) |
125 act="dates", content=content) |
126 |
126 |
127 @app.route("/competition/2013") |
127 @app.route("/competition/2013") |
128 def competition_2013(): |
128 def competition_2013(): |
129 filename = os.path.join("templates", get_locale(), "archive", "2013", "competitions", "rst", "2013.rst") |
|
130 content = get_content(filename) |
|
131 return render_template("/impressions_2013.html", |
129 return render_template("/impressions_2013.html", |
132 act="competition_2013", content=content) |
130 act="competition_2013") |
133 |
131 |
134 |
132 |
135 @app.errorhandler(404) |
133 @app.errorhandler(404) |
136 def page_not_found(e): |
134 def page_not_found(e): |
137 msg = _(u"Url: %(url)s not found" , url=request.url) |
135 msg = _(u"Url: %(url)s not found" , url=request.url) |