commit e67d89bd855822afc875152569146a9a7958c07d Author: Erik Stielstra Date: Sun Sep 25 09:31:01 2016 +0200 2763911-19 diff --git a/core/modules/system/templates/menu.html.twig b/core/modules/system/templates/menu.html.twig index 389e9aa..081d5c9 100644 --- a/core/modules/system/templates/menu.html.twig +++ b/core/modules/system/templates/menu.html.twig @@ -44,8 +44,6 @@ {{ menus.menu_links(item.below, attributes, menu_level + 1) }} {% endif %} - {% if loop.last %} - - {% endif %} {% endfor %} + {% endmacro %} diff --git a/core/modules/toolbar/templates/menu--toolbar.html.twig b/core/modules/toolbar/templates/menu--toolbar.html.twig index ce0d92e..6740284 100644 --- a/core/modules/toolbar/templates/menu--toolbar.html.twig +++ b/core/modules/toolbar/templates/menu--toolbar.html.twig @@ -54,8 +54,6 @@ {{ menus.menu_links(item.below, attributes, menu_level + 1) }} {% endif %} - {% if loop.last %} - - {% endif %} {% endfor %} + {% endmacro %} diff --git a/core/themes/classy/templates/navigation/menu.html.twig b/core/themes/classy/templates/navigation/menu.html.twig index 3f73bc1..e15165d 100644 --- a/core/themes/classy/templates/navigation/menu.html.twig +++ b/core/themes/classy/templates/navigation/menu.html.twig @@ -52,8 +52,6 @@ {{ menus.menu_links(item.below, attributes, menu_level + 1) }} {% endif %} - {% if loop.last %} - - {% endif %} {% endfor %} + {% endmacro %} diff --git a/core/themes/stable/templates/navigation/menu--toolbar.html.twig b/core/themes/stable/templates/navigation/menu--toolbar.html.twig index 215bba9..e5da949 100644 --- a/core/themes/stable/templates/navigation/menu--toolbar.html.twig +++ b/core/themes/stable/templates/navigation/menu--toolbar.html.twig @@ -52,8 +52,6 @@ {{ menus.menu_links(item.below, attributes, menu_level + 1) }} {% endif %} - {% if loop.last %} - - {% endif %} {% endfor %} + {% endmacro %} diff --git a/core/themes/stable/templates/navigation/menu.html.twig b/core/themes/stable/templates/navigation/menu.html.twig index 389e9aa..081d5c9 100644 --- a/core/themes/stable/templates/navigation/menu.html.twig +++ b/core/themes/stable/templates/navigation/menu.html.twig @@ -44,8 +44,6 @@ {{ menus.menu_links(item.below, attributes, menu_level + 1) }} {% endif %} - {% if loop.last %} - - {% endif %} {% endfor %} + {% endmacro %}