Home page: render content only, no title bar or post header
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 58s

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
giles
2026-02-23 17:34:33 +00:00
parent b96800c71a
commit 4cc00c763c
2 changed files with 3 additions and 3 deletions

View File

@@ -128,9 +128,9 @@ def register(url_prefix, title):
ctx["page_cart_total"] = float(page_summary.total + page_summary.calendar_total + page_summary.ticket_total) ctx["page_cart_total"] = float(page_summary.total + page_summary.calendar_total + page_summary.ticket_total)
if not is_htmx_request(): if not is_htmx_request():
html = await render_template("_types/post/index.html", **ctx) html = await render_template("_types/home/index.html", **ctx)
else: else:
html = await render_template("_types/post/_oob_elements.html", **ctx) html = await render_template("_types/home/_oob_elements.html", **ctx)
return await make_response(html) return await make_response(html)
@blogs_bp.get("/index") @blogs_bp.get("/index")

2
shared

Submodule shared updated: 38233279a2...001cbffd74