{% extends "globlocks/shared/blocks/base.html" %} {% load wagtailcore_tags %} {% block classname %}globlocks-listblock globlocks-menu globlocks-menu-{% block direction %}{% endblock %} text-{{ self.settings.alignment }}{% endblock %} {% block block_attributes %}style="--item-count:{{ self.items|length }};"{% endblock %} {% block content %}
{% include "globlocks/shared/blocks/heading.html" with block_id=block_id tagname="h2" classname="globlocks-menu__header" title=self.title subtitle=self.subtitle|richtext %}
{% for item in self.items.bound_blocks %}{% block menu_items %}{% include_block item.value with block_id=item.id %}{% endblock %}{% endfor %}
{% endblock %}