Missing Microdata Structure - Pages

Missing Microdata Structure

by WelshPaul » Tue May 07, 2019 7:13 pm

Hey folks,

Are you aware that the board rule ext and pages ext are missing the microdata structure?

Example using overall_header_breadcrumbs_after.html:

Old code:

Code: Select all

		<li {$MICRODATA}>
			<span itemprop="title"><a href="{{ link.U_LINK_URL }}">{{ link.LINK_TITLE }}</a></span>
New code:

Code: Select all

    <li {$MICRODATA}>
        <a itemtype="" itemprop="item" href="{{ link.U_LINK_URL }}"><span itemprop="name">{{ link.LINK_TITLE }}</span></a><meta itemprop="position" content="{{ navlink_position }}{% set navlink_position = navlink_position + 1 %}" />
Thing is though, I think pages also adds the link before not just after so in that case I don't think the position will have a correct position number?
User avatar
Registered User
Posts: 361
Joined: Tue Aug 19, 2014 2:09 pm