docs/includes/breadcrumbs.html

10 строки
512 B
HTML
Исходник Обычный вид История

<nav class="breadcrumbs f5" aria-label="Breadcrumb">
2021-05-17 18:50:24 +03:00
{%- for breadcrumb in breadcrumbs -%}
{%- if breadcrumb.href == '' -%}
<span title="{{ breadcrumb.documentType }}: {{ breadcrumb.title }}">{{ breadcrumb.title }}</span>
2021-05-17 18:50:24 +03:00
{%- else -%}
2021-05-19 03:43:35 +03:00
<a title="{{ breadcrumb.documentType }}: {{ breadcrumb.title }}" href="{{ breadcrumb.href }}" class="d-inline-block {% if breadcrumb.href == currentPath %}color-text-tertiary{% endif %}">{{ breadcrumb.title }}</a>
2021-05-17 18:50:24 +03:00
{%- endif -%}
{%- endfor -%}
</nav>