mirror of
https://github.com/svemagie/indiekit-endpoint-microsub.git
synced 2026-04-02 15:35:00 +02:00
- Replace confusing colored left border with readable channel badge pills - Add breadcrumb navigation across all reader views - Default to timeline view when clicking Reader in sidebar - Remove redundant back-link from channel view (breadcrumbs handle it)
17 lines
509 B
Plaintext
17 lines
509 B
Plaintext
{# Breadcrumb navigation #}
|
|
{% if breadcrumbs and breadcrumbs.length > 0 %}
|
|
<nav class="breadcrumbs" aria-label="Breadcrumb">
|
|
<ol class="breadcrumbs__list">
|
|
{% for crumb in breadcrumbs %}
|
|
<li class="breadcrumbs__item">
|
|
{% if crumb.href %}
|
|
<a href="{{ crumb.href }}" class="breadcrumbs__link">{{ crumb.text }}</a>
|
|
{% else %}
|
|
<span class="breadcrumbs__current" aria-current="page">{{ crumb.text }}</span>
|
|
{% endif %}
|
|
</li>
|
|
{% endfor %}
|
|
</ol>
|
|
</nav>
|
|
{% endif %}
|