Churchill
Documentation
Navigation
Markup

        {% set sideNav = [
            { "text": "Car insurance", "href": "Link 1" },
            { "text": "Multi-car discount", "href": "Link 2" },
            { "text": "DriveSure insurance", "href": "Link 3" },
            { "text": "Contact us", "href": "Link 4" } ] %}

        {% if productNav and url %}

            <div class="product-navigation">
                <div class="product-navigation__content">
                    {{ navigation(
                        items = productNav,
                        currentUrl = url,
                        theme = "onpage") }}
                </div>
            </div>

        {% endif %}
    

API Reference
  • Name
    Description
  • items
  • currentUrl
  • theme