Alex Dunmow 21d48fd1f4 fix: render whole sections for factory-compiled sites (0.4.3)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 03:18:22 +08:00

15 lines
879 B
Plaintext

<!doctype html>
<html lang="en" class="{% if theme_mode == "dark" %}dark{% endif %}">
{{ head_html|safe }}
<body class="kg-page kg-dotted-paper min-h-screen flex flex-col antialiased">
{{ admin_banner_html|safe }}
<header class="w-full sticky top-0 z-40" style="background-color: hsl(var(--background)); border-bottom: 3px solid hsl(var(--primary) / 0.25);">{{ slots.header|safe }}</header>
<main class="flex-grow w-full max-w-5xl mx-auto px-4 py-12 grid gap-10 lg:grid-cols-[1fr_280px]">
<article class="kg-prose prose max-w-none min-w-0">{{ slots.main|safe }}</article>
{% if slots.aside %}<aside class="kg-crayon-shadow rounded-3xl border-[3px] border-primary/30 bg-card text-card-foreground p-6 text-sm h-max">{{ slots.aside|safe }}</aside>{% endif %}
</main>
<footer class="w-full mt-auto">{{ slots.footer|safe }}</footer>
{{ body_end_html|safe }}
</body>
</html>