summaryrefslogtreecommitdiffstats
path: root/templates/html/htmlpage.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/html/htmlpage.tpl')
-rw-r--r--templates/html/htmlpage.tpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/html/htmlpage.tpl b/templates/html/htmlpage.tpl
index 7547ed5..74396e7 100644
--- a/templates/html/htmlpage.tpl
+++ b/templates/html/htmlpage.tpl
@@ -33,7 +33,7 @@
<ul>
<li><a href="{{ page.relPath }}annotated{{ config.HTML_FILE_EXTENSION }}"><span>{{ tr.classList }}</span></a></li>
<li><a href="{{ page.relPath }}classes{{ config.HTML_FILE_EXTENSION }}"><span>{{ tr.classIndex }}</span></a></li>
- {% if classHierarchy.tree %}
+ {% if classHierarchy.tree and classHierarchy.maxDepth>1 %}
<li><a href="{{ page.relPath }}hierarchy{{ config.HTML_FILE_EXTENSION }}"><span>{{ tr.classHierarchy }} </span></a></li>
{% endif %}
{% if classMembersIndex.all %}
@@ -50,7 +50,7 @@
</ul>
</li>
{% endif %}
-{% if exampleList.items %}
+{% if exampleList %}
<li><a href="{{ page.relPath }}examples{{ config.HTML_FILE_EXTENSION }}"><span>{{ tr.examples }}</span></a>
{% endif %}
</ul>