File tree 1 file changed +24
-19
lines changed
1 file changed +24
-19
lines changed Original file line number Diff line number Diff line change 67
67
< div class ="row ">
68
68
< div class ="col-3 ">
69
69
< div id ="table-of-contents ">
70
- <!-- <ul class="nav nav-list side-nav well sidebar-nav-fixed">
71
- {% if page and page.is_homepage %}
72
- <li class="main">
73
- <a href="#">Django REST framework</a>
74
- </li>
75
- {% endif %}
76
-
77
- {% for toc_item in page.toc %}
78
- <li class="{% if page and not page.is_homepage %}main{% endif %}">
79
- <a href="{{ toc_item.url }}">{{ toc_item.title }}</a>
80
- </li>
70
+ < ul class ="nav flex-column ">
71
+ {% if page and page.is_homepage %}
72
+ < a
73
+ href ="# "
74
+ class ="nav-link {% if page and page.is_homepage %} fw-bold {% endif %} "
75
+ > Django REST framework</ a
76
+ >
77
+ {% endif %} {% for toc_item in page.toc %}
78
+ < a
79
+ href ="{{ toc_item.url }} "
80
+ class ="nav-link {% if page and not page.is_homepage %}main{% endif %} "
81
+ > {{ toc_item.title }}</ a
82
+ >
81
83
82
84
{% for toc_item in toc_item.children %}
83
- <li>
84
- <a href="{{ toc_item.url }}">{{ toc_item.title }}</a>
85
- </li>
86
- {% endfor %}
87
- {% endfor %}
85
+ < li >
86
+ < a class ="nav-link " href ="{{ toc_item.url }} "
87
+ > {{ toc_item.title }}</ a
88
+ >
89
+ </ li >
90
+ {% endfor %} {% endfor %}
88
91
89
92
< div class ="promo ">
90
- {% if page.toc %}<hr/>{% endif %}
91
- <div id="sidebarInclude">
93
+ {% if page.toc %}
94
+ < hr />
95
+ {% endif %}
92
96
</ div >
93
- </ul> -->
97
+ < div id ="sidebarInclude "> </ div >
98
+ </ ul >
94
99
</ div >
95
100
</ div >
96
101
You can’t perform that action at this time.
0 commit comments