diff --git a/server.py b/server.py index f6807fe..9504170 100644 --- a/server.py +++ b/server.py @@ -89,7 +89,9 @@ def page_not_found(e): def ui_index(): data = { 'ui_page': "index", - "ui_title": "" + "ui_title": "", + "server_version": config.VERSION, + "server_name": state.state["server_name"] } return render_template('index.html', data=data) diff --git a/templates/index.html b/templates/index.html index a999a62..ac2e7d4 100644 --- a/templates/index.html +++ b/templates/index.html @@ -17,7 +17,7 @@ Open WebStudio
-

Version: X | Server Name: Studio X

+

Version: {{data.server_version}} | Server Name: {{data.server_name}}