Skip to content
Snippets Groups Projects
Commit 23fe61a3 authored by Eric Bremner's avatar Eric Bremner
Browse files

ISTWCMS-3380: putting back native menu items

parent 90244165
No related branches found
No related tags found
No related merge requests found
...@@ -12,15 +12,8 @@ ...@@ -12,15 +12,8 @@
* @see template_preprocess_region() * @see template_preprocess_region()
*/ */
#} #}
{% set main = simplify_menu('main') %} {% set items = simplify_menu('main') %}
{% set items = [] %}
{% for item in main.menu_tree %}
{% if item.text != "Home" and item.text != "HOME" %}
{% set items = items|merge([item]) %}
{% endif %}
{% endfor %}
{% include'@layouts/navigation/navigation.twig' with { {% include'@layouts/navigation/navigation.twig' with {
'items': items 'items': items.menu_tree
} %} } %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment