From 8680ec37d6f8fde1a55a89dc4a794b2e5443fbf0 Mon Sep 17 00:00:00 2001 From: giles Date: Wed, 25 Feb 2026 03:28:36 +0000 Subject: [PATCH] Fix container nav template to render fragment HTML Templates still used the old container_nav_widgets variable from the widget system. Updated to render container_nav_html (fragment output) which the context processor already provides. Co-Authored-By: Claude Opus 4.6 --- blog/templates/_types/post/_nav.html | 6 +++--- market/templates/_types/post/_nav.html | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/blog/templates/_types/post/_nav.html b/blog/templates/_types/post/_nav.html index 037bdcd..f2a7af8 100644 --- a/blog/templates/_types/post/_nav.html +++ b/blog/templates/_types/post/_nav.html @@ -1,9 +1,9 @@ {% import 'macros/links.html' as links %} - {# Widget-driven container nav — entries, calendars, markets #} - {% if container_nav_widgets %} + {# Container nav from fragments (calendars, markets) #} + {% if container_nav_html %}
- {% include '_types/post/admin/_nav_entries.html' %} + {{ container_nav_html | safe }}
{% endif %} diff --git a/market/templates/_types/post/_nav.html b/market/templates/_types/post/_nav.html index 037bdcd..f2a7af8 100644 --- a/market/templates/_types/post/_nav.html +++ b/market/templates/_types/post/_nav.html @@ -1,9 +1,9 @@ {% import 'macros/links.html' as links %} - {# Widget-driven container nav — entries, calendars, markets #} - {% if container_nav_widgets %} + {# Container nav from fragments (calendars, markets) #} + {% if container_nav_html %}
- {% include '_types/post/admin/_nav_entries.html' %} + {{ container_nav_html | safe }}
{% endif %}