Hello everyOne, first here
I have a custom theme with this code inside - navigation.html.twig
{% for link in site.links %} {% if link.url | contains('http') %} {% set domain = '' %} {% else %} {% set domain = base_url_absolute %} {% endif %} <li><a href="{{ domain }}{{ link.url }}" {% if link.url | contains('http') %}target="_blank"{% endif %}>{{ link.title }}</a></li> {% endfor %}
Inside a Grav theme default antimatter - navigation.html.twig
{% for page in pages.children.visible %} {% set current_page = (page.active or page.activeChild) ? 'active' : '' %} <li class="{{ current_page }}"> <a href="{{ page.url }}"> {% if page.header.icon %}<i class="fa fa-{{ page.header.icon }}"></i>{% endif %} {{ page.menu }} </a> </li> {% endfor %}
but this applied to my templates does not return anything...