Migrate to mithril.js
This commit is contained in:
@@ -19,15 +19,6 @@ def app_js():
|
||||
return Response(body, mimetype='application/javascript')
|
||||
|
||||
|
||||
@app.route('/')
|
||||
def index():
|
||||
pagedata = {}
|
||||
pagedata['title'] = app.config['TITLE']
|
||||
pagedata['info'] = 'Привет мир!'
|
||||
body = render_template('index.html', pagedata=pagedata)
|
||||
return body
|
||||
|
||||
|
||||
@app.route("/robots.txt")
|
||||
def robots_txt():
|
||||
body = render_template("robots.txt")
|
||||
|
||||
Reference in New Issue
Block a user