aboutsummaryrefslogtreecommitdiffstats
path: root/docs_theme
diff options
context:
space:
mode:
authorDougal Matthews2014-11-25 13:07:35 +0000
committerDougal Matthews2014-11-25 13:07:35 +0000
commit935d94c034b63cbe699d5d0ef04f472c3aeb3237 (patch)
tree89fa4bcc95890ae259c3987e0f06d7034fa355b9 /docs_theme
parentaa1a844154e96719c9a91f604286eb0f436f32ea (diff)
downloaddjango-rest-framework-935d94c034b63cbe699d5d0ef04f472c3aeb3237.tar.bz2
Don't add main to the top level items on the home page
Diffstat (limited to 'docs_theme')
-rw-r--r--docs_theme/base.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs_theme/base.html b/docs_theme/base.html
index 228b0ba4..004fbacd 100644
--- a/docs_theme/base.html
+++ b/docs_theme/base.html
@@ -114,7 +114,7 @@
{% for toc_item in toc %}
- <li class="main {% if toc_item.active %}main{% endif %}">
+ <li class="{% if current_page.input_path != 'index.md' %}main{% endif %}">
<a href="{{ toc_item.url }}">{{ toc_item.title }}</a>
</li>