From 68bb45350873c54555cffc03e9a05ae3fab290bb Mon Sep 17 00:00:00 2001 From: mDuo13 Date: Fri, 30 Apr 2021 17:54:24 -0700 Subject: [PATCH] tree nav: handle virtual pages consistently as parents --- tool/tree-nav.html | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/tool/tree-nav.html b/tool/tree-nav.html index d038d3e362..9a43990dc1 100644 --- a/tool/tree-nav.html +++ b/tool/tree-nav.html @@ -15,12 +15,17 @@ {% if "//" in pg.html %} {{ pg.name }}{% if pg.status is defined %} {% include 'template-status_'+pg.status+'.html' %}{% endif %} {% else %} - {{ pg.name }}{% if pg.status is defined %} {% include 'template-status_'+pg.status+'.html' %}{% endif %} + {{ pg.name }}{% if pg.status is defined %} {% include 'template-status_'+pg.status+'.html' %}{% endif %} {% endif %} {% else %} - {{ pg.name }}{% if pg.status is defined %} {% include 'template-status_'~pg.status~'.html' %}{% endif %} + + {% if "//" in pg.html %} + {{ pg.name }}{% if pg.status is defined %} {% include 'template-status_'+pg.status+'.html' %}{% endif %} + {% else %} + {{ pg.name }}{% if pg.status is defined %} {% include 'template-status_'+pg.status+'.html' %}{% endif %} + {% endif %}