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

12 lines
702 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-6xl mx-auto px-4 py-12">{% if slots.main %}{{ slots.main|safe }}{% else %}<div class="kg-empty">No content blocks assigned to this page yet.</div>{% endif %}</main>
<footer class="w-full mt-auto">{{ slots.footer|safe }}</footer>
{{ body_end_html|safe }}
</body>
</html>