Menu

Properties

PropertyType

ID

int

items

array

slug

string

title

string

custom_fields(name)

object

Example

{% if blog.menu.footer|default and blog.menu.footer.items|length %}
  <nav class="footer-navigation">
    <ul id="footer" class="footer-menu">
      {% for item in blog.menu.footer.items %}
        <a href="{{ item.link }}" class="{{ item.class }}" target="{{ item.target }}">
          {{ item.title }}
        </a>
      {% endfor %}
    </ul>
  </nav>
{% endif %}

Last updated