From ea6e01ead9464b60492ef376702ee0ccd3a830dc Mon Sep 17 00:00:00 2001 From: Alon Levy Date: Wed, 15 Apr 2015 14:44:40 +0200 Subject: client/title: avoid double refresh --- res/templates/index.html | 4 +--- 1 file changed, 1 insertion(+), 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() }} @@ -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'; -- cgit v1.3.1