1
0
mirror of synced 2025-12-25 11:03:37 -05:00
Files
docs/includes/breadcrumbs.html
Jason Etcovitch 28efe65bf5 Fix some invalid Liquid (#17705)
* Remove quotes from render paths

* Do the same for includes

* Fix {{{ in breadcrumbs

* Remove some old octicon syntax

* Fix some wonks

* Borked one

* Unchange `render` calls

* Smaller diff

* Even smaller
2021-02-05 13:17:15 -05:00

12 lines
461 B
HTML

<nav class="breadcrumbs f5" aria-label="Breadcrumb">
{% for breadcrumb in breadcrumbs %}
{% if breadcrumb[1].href == '' %}
<span>{{ breadcrumb[1].title }}</span>
{% else %}
<a title="{{ breadcrumb[0] }}: {{ breadcrumb[1].title }}" href="{{ breadcrumb[1].href }}" class="d-inline-block {% if breadcrumb[1].href == currentPath %}text-gray-light{% endif %}">
{{ breadcrumb[1].title }}
</a>
{% endif %}
{% endfor %}
</nav>