mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-25 19:14:01 +03:00
Add Home link to the theme
This commit is contained in:
parent
5a6bdd01ba
commit
deb2bb4376
|
@ -19,6 +19,7 @@
|
||||||
{% if include_nav %}
|
{% if include_nav %}
|
||||||
<!-- Main navigation -->
|
<!-- Main navigation -->
|
||||||
<ul class="nav navbar-nav">
|
<ul class="nav navbar-nav">
|
||||||
|
<li><a href="/">Home</a></li>
|
||||||
{% for nav_item in nav %} {% if nav_item.children %}
|
{% for nav_item in nav %} {% if nav_item.children %}
|
||||||
<li class="dropdown{% if nav_item.active %} active{% endif %}">
|
<li class="dropdown{% if nav_item.active %} active{% endif %}">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">{{ nav_item.title }} <b class="caret"></b></a>
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">{{ nav_item.title }} <b class="caret"></b></a>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user