{% macro render_navigation() %} {% set section = get_section(path="_index.md") %} {% for page in section.pages %} {% set link_url = page.permalink %} {{ page.title }} {% endfor %} {% if config.extra.menu_links %} {% for menu in config.extra.menu_links %} {% set link_url = menu.url %} {{ menu.title }} {% endfor %} {% endif %} {% endmacro render_navigation %}