- cover_story: clamp headline to its reserved 8-col track (mb-cover-folio) so it never crosses the deck column or bleeds off-viewport; kicker + CTA stay in frame; deck in a reserved right column; wire duotone cover image. - article template: render the page <h1> exactly once (was never rendered); fix the multi-line ninjatpl comment that failed theme registration. - lookbook + hero + seed: add seed/media (sneakers, editorial-figure, streetwear-look, sneakers-street; studio-portrait avoided) and wire image slots; expand the offcut-method article to ~9 paragraphs. - drop-cap: extra clearance so wrapped lines do not crowd the cap. - SVG geometry guard: add explicit width/height to all icon <use> SVGs and replace icon shortcodes with sized <svg> markup (balloon guard). - refresh gallery screenshots (home/about/article x light+dark, retina). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
13 lines
1.8 KiB
Plaintext
13 lines
1.8 KiB
Plaintext
{# divider override — magazine-bold hairline rules. Fields mirror builtin: variant (line|ornament|spacer-rule), weight, width, icon. ornament renders an icon flanked by hairline rules; spacer-rule a short centred hairline; line a full hairline rule. #}
|
|
{% with variant=variant|default:"line" weight=weight|default:"thin" width=width|default:"full" %}
|
|
{% if variant == "ornament" %}
|
|
<div data-block-override="magazine-bold:divider" class="bn-divider mx-auto my-10 flex flex-col items-center gap-2 {% if width == "narrow" %}max-w-[200px]{% elif width == "wide" %}max-w-3xl{% else %}w-full{% endif %}{% if class %} {{ class }}{% endif %}" role="separator">
|
|
<div class="flex w-full items-center gap-4"><span class="mb-rule flex-1"></span><span style="color:hsl(var(--accent));"><svg width="16" height="16" class="inline-block h-4 w-4" aria-hidden="true"><use href="/icons/{{ icon|default:"lucide:diamond"|split:":"|first }}.svg#{{ icon|default:"lucide:diamond"|split:":"|last }}"></use></svg></span><span class="mb-rule flex-1"></span></div>
|
|
</div>
|
|
{% elif variant == "spacer-rule" %}
|
|
<div data-block-override="magazine-bold:divider" class="bn-divider mx-auto py-10 flex justify-center {% if width == "narrow" %}max-w-[200px]{% elif width == "wide" %}max-w-3xl{% else %}w-full{% endif %}{% if class %} {{ class }}{% endif %}" role="separator"><span class="{% if weight == "thick" %}mb-rule{% else %}mb-rule{% endif %} w-16"></span></div>
|
|
{% else %}
|
|
<div data-block-override="magazine-bold:divider" class="bn-divider mx-auto my-8 flex justify-center {% if width == "narrow" %}max-w-[200px]{% elif width == "wide" %}max-w-3xl{% else %}w-full{% endif %}{% if class %} {{ class }}{% endif %}" role="separator"><span class="{% if weight == "thick" %}mb-rule{% else %}mb-rule{% endif %} w-full"></span></div>
|
|
{% endif %}
|
|
{% endwith %}
|