don't hide depth 2 when local toc tree

This commit is contained in:
Dave Snider 2013-11-08 09:04:25 -08:00
parent f97e9f3a6c
commit bc4ef78ddb
3 changed files with 6 additions and 3 deletions

View File

@ -73,6 +73,9 @@
li ul
margin-bottom: 0
display: none
.local-toc
li ul
display: block
li ul li a
margin-bottom: 0
color: $text-light

View File

@ -104,11 +104,11 @@
{% set toctree = toctree(maxdepth=2, collapse=False) %}
{% if not next and not prev %}
<!-- Local TOC for single page -->
{{ toc }}
<div class="local-toc">{{ toc }}</div>
{% elif toctree %}
{{ toctree }}
{% else %}
{{ toc }}
<div class="local-toc">{{ toc }}</div>
{% endif %}
</div>
&nbsp;

File diff suppressed because one or more lines are too long