Loading templates/blocks/block--section-nav--menu-block.html.twig +1 −4 Original line number Diff line number Diff line Loading @@ -4,10 +4,7 @@ * Override the system menu block to match IU Framework expectations. */ #} {% set hasContent = FALSE %} {% for key, child in element if key|first != '#' %} {% set hasContent = TRUE %} {% endfor %} {% set hasContent = content['#items'] %} {% if hasContent %} <nav{{ attributes }} role="navigation" aria-label=" {{ 'Section navigation'|t }}" itemscope="itemscope" itemtype="http://schema.org/SiteNavigationElement"> {{ title_prefix }}{{ title_suffix }} Loading Loading
templates/blocks/block--section-nav--menu-block.html.twig +1 −4 Original line number Diff line number Diff line Loading @@ -4,10 +4,7 @@ * Override the system menu block to match IU Framework expectations. */ #} {% set hasContent = FALSE %} {% for key, child in element if key|first != '#' %} {% set hasContent = TRUE %} {% endfor %} {% set hasContent = content['#items'] %} {% if hasContent %} <nav{{ attributes }} role="navigation" aria-label=" {{ 'Section navigation'|t }}" itemscope="itemscope" itemtype="http://schema.org/SiteNavigationElement"> {{ title_prefix }}{{ title_suffix }} Loading