From 04ce1ef4e0778b6387739a4ba5b56fdbe90d0567 Mon Sep 17 00:00:00 2001 From: Valerie R Young Date: Thu, 21 Jul 2016 14:23:26 -0400 Subject: reproducible debian: decouple navigation and page writing logic Decoupling the navigation and page writing logic made it easier to do the following: - fix a bug introduced by adding headers at the top of the mainbody div (fixed in this commit) - make package pages to use the same structure as all other pages that contain a left navigation (to do in future) Signed-off-by: Holger Levsen --- bin/templates/basic_page.mustache | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'bin/templates') diff --git a/bin/templates/basic_page.mustache b/bin/templates/basic_page.mustache index 97a60d06..0263a3a2 100644 --- a/bin/templates/basic_page.mustache +++ b/bin/templates/basic_page.mustache @@ -3,17 +3,21 @@ - {{meta_refresh}} + {{{meta_refresh}}} {{page_title}} + {{#navigation_html}}
- {{{main_navigation_html}}} + {{{navigation_html}}}
-
-

{{page_title}}

+ {{/navigation_html}} + {{#navigation_html}}
{{/navigation_html}} + {{#main_header}} +

{{main_header}}

+ {{/main_header}} {{{main_html}}} -
+ {{#navigation_html}}
{{/navigation_html}} -- cgit v1.2.3-70-g09d2