fix: override meta block in calendar templates
Some checks failed
Build and Deploy / build-and-deploy (push) Has been cancelled

Calendar templates extend post/index.html which includes _meta.html
expecting a `post` variable. In standalone events mode there's no
post — override with empty meta block.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
giles
2026-02-10 01:35:02 +00:00
parent 8dc540606e
commit dd9007d572
2 changed files with 3 additions and 1 deletions

View File

@@ -1,5 +1,7 @@
{% extends '_types/post/index.html' %}
{% block meta %}{% endblock %}
{% block post_header_child %}
{% from '_types/root/_n/macros.html' import index_row with context %}
{% call index_row('calendar-header-child', '_types/calendar/header/_header.html') %}

View File

@@ -1,6 +1,6 @@
{% extends '_types/post/admin/index.html' %}
{% block meta %}{% endblock %}
{% block post_admin_header_child %}
{% from '_types/root/_n/macros.html' import index_row with context %}