diff --git a/browser/templates/_types/day/_nav.html b/browser/templates/_types/day/_nav.html index 3e4e5ed..cfb8aca 100644 --- a/browser/templates/_types/day/_nav.html +++ b/browser/templates/_types/day/_nav.html @@ -25,6 +25,15 @@ {% endcall %} +{# Container nav widgets (market links, etc.) #} +{% if container_nav_widgets %} + {% for wdata in container_nav_widgets %} + {% with ctx=wdata.ctx %} + {% include wdata.widget.template with context %} + {% endwith %} + {% endfor %} +{% endif %} + {# Admin link #} {% if g.rights.admin %} {% from 'macros/admin_nav.html' import admin_nav_item %} diff --git a/browser/templates/_types/entry/_nav.html b/browser/templates/_types/entry/_nav.html index 513f517..388fc2e 100644 --- a/browser/templates/_types/entry/_nav.html +++ b/browser/templates/_types/entry/_nav.html @@ -22,6 +22,14 @@ {% endcall %} +{% if container_nav_widgets %} + {% for wdata in container_nav_widgets %} + {% with ctx=wdata.ctx %} + {% include wdata.widget.template with context %} + {% endwith %} + {% endfor %} +{% endif %} + {# Admin link #} {% if g.rights.admin %}