diff --git a/core/modules/system/templates/menu.html.twig b/core/modules/system/templates/menu.html.twig
index 03704f2..e57a1ff 100644
--- a/core/modules/system/templates/menu.html.twig
+++ b/core/modules/system/templates/menu.html.twig
@@ -31,11 +31,7 @@
{% macro menu_links(items, attributes, menu_level) %}
{% import _self as menus %}
{% if items %}
- {% if menu_level == 0 %}
-
- {% else %}
-
- {% endif %}
+
{% for item in items %}
-
{{ link(item.title, item.url) }}
diff --git a/core/modules/toolbar/templates/menu--toolbar.html.twig b/core/modules/toolbar/templates/menu--toolbar.html.twig
index 659e8f5..2effeb7 100644
--- a/core/modules/toolbar/templates/menu--toolbar.html.twig
+++ b/core/modules/toolbar/templates/menu--toolbar.html.twig
@@ -31,11 +31,7 @@
{% macro menu_links(items, attributes, menu_level) %}
{% import _self as menus %}
{% if items %}
- {% if menu_level == 0 %}
-