From 033d9d617c0bed43e435412b14d47f1d680c05d7 Mon Sep 17 00:00:00 2001 From: giles Date: Tue, 10 Feb 2026 02:04:35 +0000 Subject: [PATCH] fix: calendar templates extend root instead of post Prevents 500 errors in standalone events app where post variable is unavailable. Co-Authored-By: Claude Opus 4.6 --- templates/_types/calendar/index.html | 4 ++-- templates/_types/calendars/index.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/_types/calendar/index.html b/templates/_types/calendar/index.html index da3504f..f3af5fa 100644 --- a/templates/_types/calendar/index.html +++ b/templates/_types/calendar/index.html @@ -1,8 +1,8 @@ -{% extends '_types/post/index.html' %} +{% extends '_types/root/_index.html' %} {% block meta %}{% endblock %} -{% block post_header_child %} +{% block root_header_child %} {% from '_types/root/_n/macros.html' import index_row with context %} {% call index_row('calendar-header-child', '_types/calendar/header/_header.html') %} {% block calendar_header_child %} diff --git a/templates/_types/calendars/index.html b/templates/_types/calendars/index.html index 4d74506..0b7e29b 100644 --- a/templates/_types/calendars/index.html +++ b/templates/_types/calendars/index.html @@ -1,8 +1,8 @@ -{% extends '_types/post/admin/index.html' %} +{% extends '_types/root/_index.html' %} {% block meta %}{% endblock %} -{% block post_admin_header_child %} +{% block root_header_child %} {% from '_types/root/_n/macros.html' import index_row with context %} {% call index_row('calendars-header-child', '_types/calendars/header/_header.html') %} {% block calendars_header_child %}