From 2fd2025ec95518c0aae0a8ea46b2dc21c772f837 Mon Sep 17 00:00:00 2001 From: Henning Leutz <leutz@pcsg.de> Date: Thu, 22 Oct 2015 09:04:25 +0200 Subject: [PATCH] composer dev-dev --- types/list.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/types/list.html b/types/list.html index 5561ac6..1ac2d88 100644 --- a/types/list.html +++ b/types/list.html @@ -38,10 +38,13 @@ {assign var=faqList value=$Category->getChildren()} {if count($faqList)} <ul itemscope itemtype="http://schema.org/ItemList"> + {assign var=position value=1} {foreach $faqList as $Faq} - <li itemscope itemprop="itemListElement"> + <li itemscope itemprop="itemListElement" itemtype="http://schema.org/ListItem"> <a itemprop="url" href="{url site=$Category}#faq{$Faq->getId()}"> <span itemprop="name">{$Faq->getAttribute('title')}</span> + <meta itemprop="position" content="{$position}" /> + {assign var=position value=$position+1} </a> </li> {/foreach} -- GitLab