mirror of
https://github.com/torproject/lego.git
synced 2024-11-23 09:39:44 +00:00
Update to breadcrumbs
This commit is contained in:
parent
d88cb21926
commit
2a33ca6a54
@ -3,17 +3,8 @@
|
||||
{% if item.parent %}
|
||||
{% for _ in range(1, 5) %}
|
||||
{% set parent = item.parent %}
|
||||
{% if parent %}
|
||||
{% if parent.path == "/" %}
|
||||
{# break #}
|
||||
{% else %}
|
||||
<li class="breadcrumb-item active" aria-current="page">
|
||||
<a href="{{ parent.path|url }}">
|
||||
{{ parent.title }}
|
||||
</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{{ parent }}
|
||||
{{ item }}
|
||||
{% set item = item.parent %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
Loading…
Reference in New Issue
Block a user