mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-02-16 19:41:06 +03:00
Don't add main to the top level items on the home page
This commit is contained in:
parent
aa1a844154
commit
935d94c034
|
@ -114,7 +114,7 @@
|
||||||
|
|
||||||
{% for toc_item in toc %}
|
{% 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>
|
<a href="{{ toc_item.url }}">{{ toc_item.title }}</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user