diff options
| author | Alon Levy <alon@pobox.com> | 2015-04-15 14:44:40 +0200 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2015-04-15 14:44:40 +0200 |
| commit | ea6e01ead9464b60492ef376702ee0ccd3a830dc (patch) | |
| tree | fe2747e4a84ed79eac741494df72d64a4e811f9e /res/templates | |
| parent | 081f733ae6692d65ce79d633901d32210a19de12 (diff) | |
client/title: avoid double refresh
Diffstat (limited to 'res/templates')
| -rw-r--r-- | res/templates/index.html | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/res/templates/index.html b/res/templates/index.html index 18d17e48..6ae505b8 100644 --- a/res/templates/index.html +++ b/res/templates/index.html @@ -1,5 +1,5 @@ {% extends "base.html" %} -{% block title %}Rhizi Prototype{% endblock %} +{% block title %}{{ rz_config__rzdoc_cur__name|safe }} -- Rhizi Prototype{% endblock %} {% block head %} {{ super() }} <link href="/static/css/feedback.css" rel="stylesheet" type="text/css"> @@ -20,8 +20,6 @@ var rz_config = { // set as a global variable }; var RZ_VERSION = '{% include "fragment/version.txt" %}'; - -document.title = rz_config.rzdoc_cur__name + ' -- Rhizi Prototype'; </script> <script data-main='/static/app.js' src="/static/lib/require.js"></script> <script src="/static/local_config.js"></script> |
