aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDougal Matthews2014-10-29 21:26:23 +0000
committerDougal Matthews2014-11-25 12:43:42 +0000
commit5600878672a47a6aedd49322b4e0c9cce561d1d6 (patch)
tree53fd8db12d05187ce2293864b7a2eba91dd865e1
parent3c49b9fe4648d6fb291f0d34bf2e9ef4b72d45be (diff)
downloaddjango-rest-framework-5600878672a47a6aedd49322b4e0c9cce561d1d6.tar.bz2
Fixed the TOC (again)
Not sure how I broke it ;-)
-rw-r--r--docs/theme/base.html7
1 files changed, 3 insertions, 4 deletions
diff --git a/docs/theme/base.html b/docs/theme/base.html
index 0f876cc1..bb3ede2a 100644
--- a/docs/theme/base.html
+++ b/docs/theme/base.html
@@ -189,11 +189,10 @@ a.fusion-poweredby {
<ul class="nav nav-list side-nav well sidebar-nav-fixed">
{% for toc_item in toc %}
<li class="{% if loop.first %}main{% endif %} {% if toc_item.active %}main{% endif %}"><a href="{{ toc_item.url }}">{{ toc_item.title }}</a></li>
+ {% for toc_item in toc_item.children %}
+ <li><a href="{{ toc_item.url }}">{{ toc_item.title }}</a></li>
+ {% endfor %}
{% endfor %}
- <div class="promo">
- <hr/>
- <script type="text/javascript" src="//cdn.fusionads.net/fusion.js?zoneid=1332&serve=C6SDP2Y&placement=djangorestframework" id="_fusionads_js"></script>
- </div>
</ul>
</div>