AgelxNash/DocLister

DLCrumbs: schema

AndreyMyagkov opened this issue · 0 comments

Нужно поправить схему микроразметки для последнего элемента, иначе не проходит валидацию в Гугле

Вот рабочий код шаблона текущего пункта (файл /assets/snippets/DocLister/config/core/crumbs.json)

"tplCurrent": "@CODE:<li class=\"active\" itemprop=\"itemListElement\" itemscope itemtype=\"http://schema.org/ListItem\"><meta itemprop=\"position\" content=\"[+iteration+]\" /><span typeof=\"WebPage\" resource=\"[+url+]\"><span itemprop=\"name\">[+title+]</span></span></li>",