fix: override meta block in calendar templates
Some checks failed
Build and Deploy / build-and-deploy (push) Has been cancelled
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:
@@ -1,5 +1,7 @@
|
|||||||
{% extends '_types/post/index.html' %}
|
{% extends '_types/post/index.html' %}
|
||||||
|
|
||||||
|
{% block meta %}{% endblock %}
|
||||||
|
|
||||||
{% block post_header_child %}
|
{% block post_header_child %}
|
||||||
{% from '_types/root/_n/macros.html' import index_row with context %}
|
{% from '_types/root/_n/macros.html' import index_row with context %}
|
||||||
{% call index_row('calendar-header-child', '_types/calendar/header/_header.html') %}
|
{% call index_row('calendar-header-child', '_types/calendar/header/_header.html') %}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{% extends '_types/post/admin/index.html' %}
|
{% extends '_types/post/admin/index.html' %}
|
||||||
|
|
||||||
|
{% block meta %}{% endblock %}
|
||||||
|
|
||||||
{% block post_admin_header_child %}
|
{% block post_admin_header_child %}
|
||||||
{% from '_types/root/_n/macros.html' import index_row with context %}
|
{% from '_types/root/_n/macros.html' import index_row with context %}
|
||||||
|
|||||||
Reference in New Issue
Block a user