Index: templates/default.tmpl |
=================================================================== |
--- a/templates/default.tmpl |
+++ b/templates/default.tmpl |
@@ -32,17 +32,18 @@ |
<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> |
+ {% set page_title = page_title or title %} |
ire
2018/04/03 10:00:32
I added a new field so that the page title being d
juliandoucette
2018/04/03 13:07:51
Acknowledged.
Detail: I'm not a fan of this title
|
+ <h1>{{page_title|translate("title")}}</h1> |
{% endif %} |
{% if not notoc %} |
{% macro toc(toclist) %} |
<ul> |
{% for item in toclist %} |
<li> |
<a href="#{{item.anchor}}">{{item.title}}</a> |