Alex Dunmow 965ecf3228 fix(editorial): article H1, marginalia separator+contrast, home composition, SVG geometry guard
- 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>
2026-07-06 16:07:14 +08:00

18 lines
1.2 KiB
Plaintext

<!doctype html>
<html lang="en" class="{% if theme_mode == "dark" %}dark{% endif %}">
{{ head_html|safe }}
<body class="antialiased min-h-screen flex flex-col bg-background text-foreground" style="font-family: var(--font-body, &quot;Source Serif 4&quot;, &quot;Source Serif Pro&quot;, Georgia, serif);">
<div class="editorial-progress" aria-hidden="true"></div>
{{ admin_banner_html|safe }}
{% if slots.header %}<header class="w-full">{{ slots.header|safe }}</header>{% endif %}
{% if title %}<div class="editorial-column w-full pt-10 md:pt-14"><h1 class="editorial-hero-title">{{ title }}</h1></div>{% endif %}
{% if slots.byline %}<div class="editorial-column w-full pt-4 pb-2">{{ slots.byline|safe }}</div>{% endif %}
<div class="editorial-article-grid flex-grow py-8">
<main class="editorial-dropcap prose-editorial">{% if slots.main %}{{ slots.main|safe }}{% else %}<p style="color: hsl(var(--muted-foreground));">This essay has no content yet.</p>{% endif %}</main>
<aside class="editorial-marginalia">{{ slots.marginalia|safe }}</aside>
</div>
{% if slots.footer %}<footer class="w-full mt-auto">{{ slots.footer|safe }}</footer>{% endif %}
{{ body_end_html|safe }}
</body>
</html>