Amend breadcrumbs to link to the section indexes, i.e., home/section/
Docker-DCO-1.1-Signed-off-by: O.S. Tezer <ostezer@gmail.com> (github: ostezer) Upstream-commit: b74fa7587228361f2e13606c260f559b56aaf323 Component: engine
This commit is contained in:
@ -2,13 +2,9 @@
|
||||
<li><a href="{{ homepage_url }}"><span class="glyphicon glyphicon-home"></span></a></li>
|
||||
{% for section in nav %}
|
||||
{% if section.active %}
|
||||
<li><a href="../">{{ section.title }}</a></li>
|
||||
{% if section.children %}
|
||||
{% for page in section.children[:1] %}
|
||||
<li><a href="{{ page.url }}">{{ section.title }}</a></li>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% if section.children %}
|
||||
<li class="active"><a href="{{ current_page.url }}">{{ current_page.title }}</a></li>
|
||||
<li class="active"><a href="{{ current_page.url }}">{{ current_page.title }}</a></li>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
Reference in New Issue
Block a user