diff --git a/resources/views/Category/Item/CategoryItem.twig b/resources/views/Category/Item/CategoryItem.twig index 115be8a784..72952a9ba8 100755 --- a/resources/views/Category/Item/CategoryItem.twig +++ b/resources/views/Category/Item/CategoryItem.twig @@ -110,6 +110,8 @@ {% endif %}
+ {% set listItems = [] %} + {% set position = 1 %} {% if itemList is not empty %} {% endif %} + {% if category is defined %} + + { + "@context":"http://schema.org/", + "@type":"ItemList", + "name": "{{ category.details[0].name }}", + "itemListElement": {{ listItems | json_encode | raw }} + }} + + {% endif %} {% if category is not defined and itemList is empty %}

{{ trans("Ceres::Template.itemSearchNoResults", {"searchString": searchString}) }}

{% endif %}