Introduces a widget system where domains register UI fragments into named slots (container_nav, container_card, account_page, account_link). Host apps iterate widgets generically without naming any domain. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
11 lines
370 B
HTML
11 lines
370 B
HTML
{# Calendar link nav items — loaded via widget registry #}
|
|
{% for calendar in ctx.calendars %}
|
|
{% set local_href=events_url('/' + post.slug + '/calendars/' + calendar.slug + '/') %}
|
|
<a
|
|
href="{{ local_href }}"
|
|
class="{{styles.nav_button_less_pad}}">
|
|
<i class="fa fa-calendar" aria-hidden="true"></i>
|
|
<div>{{calendar.name}}</div>
|
|
</a>
|
|
{% endfor %}
|