Index: templates/default.tmpl |
=================================================================== |
--- a/templates/default.tmpl |
+++ b/templates/default.tmpl |
@@ -28,19 +28,16 @@ |
{{head|safe}} |
{% endblock %} |
</head> |
<body> |
<? include navbar ?> |
<div id="content" class="container content {{ localefile == "index" and page }}"> |
- {% if abbnotification %} |
- <? include abb-notification ?> |
- {% endif %} |
{% if not noheading %} |
<h1>{{title|translate("title")}}</h1> |
{% endif %} |
{% if not notoc %} |
{% macro toc(toclist) %} |
<ul> |
{% for item in toclist %} |
@@ -60,12 +57,16 @@ |
{% endif %} |
{% endif %} |
{% block body %} |
{{body|safe}} |
{% endblock %} |
</div> |
+ {% if localefile == "index" %} |
+ <? include abb-notification ?> |
+ {% endif %} |
+ |
<? include footer ?> |
<? include scripts ?> |
</body> |
</html> |