Commit aad2e196 authored by fred's avatar fred
Browse files

templates: always display top section name

parent 45710fae
......@@ -4,7 +4,7 @@
{% block title %}{{ page.title }}{% endblock %}
{% block toptitle %}
<h1 class="top">{% firstof page.get_parents_and_self.1.title page.title %}</h1>
<h1 class="top"><a href="{{ page.get_parents_and_self.0.get_online_url }}">{{ page.get_parents_and_self.0.title }}</a></h1>
{% endblock %}
{% block nav %}
......@@ -14,6 +14,9 @@
<div class="wrapper navigation">
<div id="fiber-content" class="leftPart">
{% if page.get_parents_and_self.0.title != page.title %}
<h1>{{ page.title }}</h1>
{% endif %}
<div class="text">{% placeholder "content" %}</div>
</div>
<div id="fiber-nav" class="sub rightPart custom marged">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment