diff options
author | 3D-I <480857+3D-I@users.noreply.github.com> | 2020-01-24 00:19:34 +0100 |
---|---|---|
committer | 3D-I <480857+3D-I@users.noreply.github.com> | 2020-01-24 00:21:50 +0100 |
commit | 3d9845ebed5b306c1d96496c7f5d400c2b973135 (patch) | |
tree | 416c66f22f060ed4c4328da19e2fd2566b464eea | |
parent | [ticket/16316] Fix breadcrumbs markup validation (diff) | |
download | phpbb-3d9845ebed5b306c1d96496c7f5d400c2b973135.tar.gz phpbb-3d9845ebed5b306c1d96496c7f5d400c2b973135.tar.bz2 phpbb-3d9845ebed5b306c1d96496c7f5d400c2b973135.zip |
[ticket/16316] Fix breadcrumbs markup validation
PHPBB3-16316
-rw-r--r-- | phpBB/styles/prosilver/template/navbar_header.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/styles/prosilver/template/navbar_header.html b/phpBB/styles/prosilver/template/navbar_header.html index fa750cd49a..bd54f71d41 100644 --- a/phpBB/styles/prosilver/template/navbar_header.html +++ b/phpBB/styles/prosilver/template/navbar_header.html @@ -186,18 +186,18 @@ <li class="breadcrumbs" itemscope itemtype="https://schema.org/BreadcrumbList"> {% if U_SITE_HOME %} - <span class="crumb" {{ MICRODATA }}><a href="{{ U_SITE_HOME }}" id="{{ U_SITE_HOME | e('html_attr') }}" itemtype="https://schema.org/Thing" itemscope itemprop="item" data-navbar-reference="home"><i class="icon fa-home fa-fw" aria-hidden="true"></i><span itemprop="name">{{ L_SITE_HOME }}</span></a><meta itemprop="position" content="{{ navlink_position }}{% set navlink_position = navlink_position + 1 %}" /></span> + <span class="crumb" {{ MICRODATA }}><a itemprop="item" href="{{ U_SITE_HOME }}" data-navbar-reference="home"><i class="icon fa-home fa-fw" aria-hidden="true"></i><span itemprop="name">{{ L_SITE_HOME }}</span></a><meta itemprop="position" content="{{ navlink_position }}{% set navlink_position = navlink_position + 1 %}" /></span> {% endif %} {% EVENT overall_header_breadcrumb_prepend %} - <span class="crumb" {{ MICRODATA }}><a href="{{ U_INDEX }}" id="{{ U_INDEX | e('html_attr') }}" itemtype="https://schema.org/Thing" itemscope itemprop="item" accesskey="h" data-navbar-reference="index">{% if not U_SITE_HOME %}<i class="icon fa-home fa-fw"></i>{% endif %}<span itemprop="name">{{ L_INDEX }}</span></a><meta itemprop="position" content="{{ navlink_position }}{% set navlink_position = navlink_position + 1 %}" /></span> + <span class="crumb" {{ MICRODATA }}><a itemprop="item" href="{{ U_INDEX }}" accesskey="h" data-navbar-reference="index">{% if not U_SITE_HOME %}<i class="icon fa-home fa-fw"></i>{% endif %}<span itemprop="name">{{ L_INDEX }}</span></a><meta itemprop="position" content="{{ navlink_position }}{% set navlink_position = navlink_position + 1 %}" /></span> {% for navlinks in navlinks %} {% set NAVLINK_NAME = navlinks.BREADCRUMB_NAME | default(navlinks.FORUM_NAME) %} {% set NAVLINK_LINK = navlinks.U_BREADCRUMB | default(navlinks.U_VIEW_FORUM) %} {% EVENT overall_header_navlink_prepend %} - <span class="crumb" {{ MICRODATA }}{% if navlinks.MICRODATA %} {{ navlinks.MICRODATA }}{% endif %}><a href="{{ NAVLINK_LINK }}" id="{{ NAVLINK_LINK | e('html_attr') }}" itemtype="https://schema.org/Thing" itemscope itemprop="item"><span itemprop="name">{{ NAVLINK_NAME }}</span></a><meta itemprop="position" content="{{ navlink_position }}{% set navlink_position = navlink_position + 1 %}" /></span> + <span class="crumb" {{ MICRODATA }}{% if navlinks.MICRODATA %} {{ navlinks.MICRODATA }}{% endif %}><a itemprop="item" href="{{ NAVLINK_LINK }}"><span itemprop="name">{{ NAVLINK_NAME }}</span></a><meta itemprop="position" content="{{ navlink_position }}{% set navlink_position = navlink_position + 1 %}" /></span> {% EVENT overall_header_navlink_append %} {% endfor %} |