- seed: real Rootline Trust content — no 'example figures' placeholder copy; home composed as split hero (hands-soil image) + stats + feature-grid + botanical divider + field note + newsletter; About gap filled with fern image + impact report between story and pull-quote; first article expanded to ~10 field-notes paragraphs with inline forest image; 6 Pixabay images seeded via seed/media (id+file+alt) - article.ninjatpl: header slot now full-bleed (was max-w-3xl wrapped — the boxed-header artifact bracketing the nav with vertical rules) - landing.ninjatpl: main slot full-bleed so composed sections span the page - SVG geometry guard: every <use>-icon svg now carries explicit width/height matching its size class (18 files) Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
14 lines
1.4 KiB
Plaintext
14 lines
1.4 KiB
Plaintext
{# breadcrumbs (earthen) — trail from the `breadcrumbs` provider (page ancestry). showHome prepends a Home link; separator is text ("/") or a chevron for the arrows template; the trailing is_current item renders as plain text. Control flow and field reads preserved; earthen skin only. #}
|
|
{% set arrows = template == "arrows" %}
|
|
<nav aria-label="Breadcrumb" data-block-override="earthen:breadcrumbs" class="py-3{% if class %} {{ class }}{% endif %}">
|
|
<ol class="flex flex-wrap items-center gap-1 text-xs">
|
|
{% if showHome %}<li class="flex items-center"><a href="/" class="text-muted-foreground transition-colors hover:text-primary">{{ homeLabel|default:"Home" }}</a></li>{% endif %}
|
|
{% for item in breadcrumbs %}
|
|
<li class="flex items-center">
|
|
{% if showHome or not forloop.First %}{% if arrows %}<svg width="14" height="14" class="mx-2 h-3.5 w-3.5 text-accent" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"/></svg>{% else %}<span class="mx-2 text-accent">{{ separator|default:"/" }}</span>{% endif %}{% endif %}
|
|
{% if item.is_current %}{% if showCurrent %}<span class="font-medium text-foreground" aria-current="page">{{ item.label }}</span>{% endif %}{% else %}<a href="{{ item.url }}" class="text-muted-foreground transition-colors hover:text-primary">{{ item.label }}</a>{% endif %}
|
|
</li>
|
|
{% endfor %}
|
|
</ol>
|
|
</nav>
|