Decouple TemplateFunc from templ.Component by introducing a generic HTMLComponent interface that both templ and pongo2 satisfy via Go structural typing. Add a complete pongo2 rendering engine in templates/pongo/ with page templates, block templates (with BlockContext injection and icon processing), template overrides, and email wrappers. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
10 lines
300 B
HTML
10 lines
300 B
HTML
<!DOCTYPE html>
|
|
<html lang="en" class="{{ theme_mode }}">
|
|
{{ head_html|safe }}
|
|
<body class="{% block body_class %}bg-background text-foreground antialiased min-h-screen flex flex-col{% endblock %}">
|
|
{{ admin_banner_html|safe }}
|
|
{% block body %}{% endblock %}
|
|
{{ body_end_html|safe }}
|
|
</body>
|
|
</html>
|