mirror of
https://github.com/svemagie/indiekit-endpoint-microsub.git
synced 2026-04-02 15:35:00 +02:00
- Namespace all plugin CSS classes with ms- prefix (20 BEM blocks) - Update all 19 templates to match prefixed class names - Replace visually-hidden with -!-visually-hidden (core convention) - Remove inline onerror handlers from avatar/photo images - Remove dead source-type SVG icons (Fediverse/Bluesky/Web) Confab-Link: http://localhost:8080/sessions/bb4a6ec4-b711-48cd-b3d7-942ec2a9851d
17 lines
524 B
Plaintext
17 lines
524 B
Plaintext
{# Breadcrumb navigation #}
|
|
{% if breadcrumbs and breadcrumbs.length > 0 %}
|
|
<nav class="ms-breadcrumbs" aria-label="Breadcrumb">
|
|
<ol class="ms-breadcrumbs__list">
|
|
{% for crumb in breadcrumbs %}
|
|
<li class="ms-breadcrumbs__item">
|
|
{% if crumb.href %}
|
|
<a href="{{ crumb.href }}" class="ms-breadcrumbs__link">{{ crumb.text }}</a>
|
|
{% else %}
|
|
<span class="ms-breadcrumbs__current" aria-current="page">{{ crumb.text }}</span>
|
|
{% endif %}
|
|
</li>
|
|
{% endfor %}
|
|
</ol>
|
|
</nav>
|
|
{% endif %}
|