Simplfy the sidebar html and css, and then allow the text to wrap

Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
Upstream-commit: c237f9f201bbf5c4b06fbfd65254eb2af75e136f
Component: engine
This commit is contained in:
Sven Dowideit
2015-02-06 14:31:04 +10:00
parent ea5bb62c0a
commit f24997510f
3 changed files with 38 additions and 25 deletions

View File

@ -1,8 +1,11 @@
{% for toc_item in toc %}
{% for toc_h2_item in toc_item.children %}
<li class=""><a href="{{ toc_h2_item.url }}">{{ toc_h2_item.title }}</a></li>
<li class=""><a href="{{ toc_h2_item.url }}">{{ toc_h2_item.title }}</a>
<ul>
{% for toc_h3_item in toc_h2_item.children %}
<h3><a href="{{ toc_h3_item.url }}">{{ toc_h3_item.title }}</a></h3>
<li><a href="{{ toc_h3_item.url }}">{{ toc_h3_item.title }}</a></li>
{% endfor %}
</ul>
</li>
{% endfor %}
{% endfor %}