aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/webui/templates/base.html
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@outlook.com>2016-11-15 17:34:02 +0800
committerAaron LI <aaronly.me@outlook.com>2016-11-15 17:34:02 +0800
commit823fb20c83ff9dedcc5d804f32a0f80ab1810813 (patch)
tree2d5aa508947941b1c0bd9cf7eaa5e8a14759abe7 /fg21sim/webui/templates/base.html
parent2573db8dd4084b88d73d628271f270f6ef00e33b (diff)
downloadfg21sim-823fb20c83ff9dedcc5d804f32a0f80ab1810813.tar.bz2
webui: Fix the issues due to the split of "header-{base,index}.html"
Tornado currently do NOT support *nested* template extensions. * Rename "header-base.html" back to "header.html" * Merge the contents of "header-index.html" to "index.html" * Add new block "subtitle" to "base.html"
Diffstat (limited to 'fg21sim/webui/templates/base.html')
-rw-r--r--fg21sim/webui/templates/base.html8
1 files changed, 6 insertions, 2 deletions
diff --git a/fg21sim/webui/templates/base.html b/fg21sim/webui/templates/base.html
index 1fbc75e..a7b5696 100644
--- a/fg21sim/webui/templates/base.html
+++ b/fg21sim/webui/templates/base.html
@@ -11,7 +11,11 @@
<meta name="author" content="Weitian LI" />
<meta name="description" content="fg21sim: Realistic Foregrounds Simulation for EoR 21cm Signal Detection" />
<link rel="icon" type="image/png" href="{{ static_url('images/favicon.png') }}" />
- <title>{% block title %}FG21sim Web UI{% end %}</title>
+ <title>
+ {% block title %}
+ {% block subtitle %}{% end %} FG21sim Web UI
+ {% end %}
+ </title>
{% block extra_head %}{% end %}
{% block css %}
@@ -31,7 +35,7 @@
{% block page %}
<header class="masthead" role="banner">
{% block header %}
- {% include "header-base.html" %}
+ {% include "header.html" %}
{% end %}
</header>