Pages

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>
		</li>
New code:

Code: Select all

    <li {$MICRODATA}>
        <a itemtype="https://schema.org/Thing" 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 %}" />
    </li>
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
WelshPaul
Registered User
Posts: 353
Joined: Tue Aug 19, 2014 2:09 pm
Contact: