Newer
Older
pre-www / src / blocks / subnav-columns.twig
<div class="block-{{block.key}} {{block.classes}} block-container">
    <div class="block-{{block.key}}__nav">
        <ul>
            {% for item in block.content.items %}
                <li class="{% if item.active %}is-active{% endif %}"><a href="{{item.url}}">{{item.name}}</a></li>
            {% endfor %}
        </ul>
    </div>
    <div class="block-{{block.key}}__description">
        {% for item in block.content.items %}
            {% if item.active %}
                <p>{{item.text}}</p>
            {% endif %}
        {% endfor %}
    </div>
</div>