{# --- home button --- -#}
{{config.extra.name}}
{# --- menu links --- -#} {%- for link in config.extra.nav.links %} {#- hack to get page or section #} {%- if link is ending_with("_index.md") -%} {%- set s = get_section(path=link) -%} {% else %} {%- set p = get_page(path=link) -%} {%- if not p.extra.hide -%}
{{p.title}}
{%- endif -%} {% endif %} {% endfor %}