mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-22 01:26:53 +03:00
Add The title to the top of the TOC for the home page
This commit is contained in:
parent
f2d4e51aaa
commit
aa1a844154
|
@ -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 %}">
|
||||
|
|
Loading…
Reference in New Issue
Block a user