aboutsummaryrefslogtreecommitdiffstats
path: root/docs_theme
diff options
context:
space:
mode:
authorDougal Matthews2014-11-25 13:05:48 +0000
committerDougal Matthews2014-11-25 13:05:48 +0000
commitaa1a844154e96719c9a91f604286eb0f436f32ea (patch)
tree2c6567ee6305f39a1231d8b42706cc9ca876548f /docs_theme
parentf2d4e51aaa33edf35921c459327b0a0ba2526ced (diff)
downloaddjango-rest-framework-aa1a844154e96719c9a91f604286eb0f436f32ea.tar.bz2
Add The title to the top of the TOC for the home page
Diffstat (limited to 'docs_theme')
-rw-r--r--docs_theme/base.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs_theme/base.html b/docs_theme/base.html
index 02be73ee..228b0ba4 100644
--- a/docs_theme/base.html
+++ b/docs_theme/base.html
@@ -105,6 +105,13 @@
-->
<div id="table-of-contents">
<ul class="nav nav-list side-nav well sidebar-nav-fixed">
+
+ {% if current_page.input_path == 'index.md' %}
+ <li class="main">
+ <a href="#">Django REST framework</a>
+ </li>
+ {% endif %}
+
{% for toc_item in toc %}
<li class="main {% if toc_item.active %}main{% endif %}">