- article template now renders <h1>{{ title }} once (was absent — title never showed)
- marginalia anchor label is block-level foreground ink (was inline muted run-on)
- landing lead top padding trimmed to close the dead band above the hero card
- 22 icon-sprite <use> SVGs carry explicit width/height (JIT balloon guard)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
14 lines
1.2 KiB
Plaintext
14 lines
1.2 KiB
Plaintext
<div data-block-override="editorial:social-links" class="social-links{% if class %} {{ class }}{% endif %}">
|
|
{% if heading %}<p class="editorial-caps mb-4 text-xs tracking-[0.18em] text-muted-foreground">{{ heading }}</p>{% endif %}
|
|
<ul class="flex {% if style == "stack" %}flex-col gap-2{% else %}flex-wrap items-center gap-3{% endif %}">
|
|
{% for link in links %}{% if link.url %}
|
|
<li>
|
|
<a href="{{ link.url }}" target="_blank" rel="noopener noreferrer" aria-label="{{ link.label|default:link.network }}" class="inline-flex items-center gap-2 rounded-none border border-[hsl(var(--border))] text-foreground transition-colors hover:border-[hsl(var(--accent))] hover:text-[hsl(var(--accent))] {% if style == "stack" %}w-full px-4 py-2.5{% else %}p-2.5{% endif %}">
|
|
{% if link.network %}<svg class="h-5 w-5 text-[hsl(var(--accent))]" width="20" height="20" aria-hidden="true"><use href="/icons/{{ link.network|split:":"|first }}.svg#{{ link.network|split:":"|last }}"></use></svg>{% endif %}
|
|
{% if style == "stack" and link.label %}<span class="editorial-caps text-xs tracking-[0.14em]">{{ link.label }}</span>{% endif %}
|
|
</a>
|
|
</li>
|
|
{% endif %}{% endfor %}
|
|
</ul>
|
|
</div>
|