Migrate to mithril.js

This commit is contained in:
2023-02-18 09:22:43 +03:00
parent 024d7fb10d
commit bdc8f8496f
79 changed files with 1697 additions and 149 deletions
-9
View File
@@ -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")