1<#-- EN LA CONFIGURACION DEL PORTLET SOLO MARCAR LA OPCION show page -->
2
3<#if entries?has_content>
4 <div class="container">
5 <div class="breadcrumbs">
6 <#-- Pinto los elementos del breadcrumb -->
7 <#assign position = 1>
8 <#list entries as curEntry>
9 <#if curEntry?is_last >
10
11 <#if request.getParameter("category")??>
12 <span>${request.getParameter("category")?cap_first}</span>
13 </#if>
14 <#else>
15 <a href="${curEntry.getURL()}">${curEntry.getTitle()}</a>
16 </#if>
17 <#assign position++>
18 </#list>
19
20 </div>
21 </div>
22</#if>
23
24
25<@liferay_util["html-top"] outputKey="htmltop" >
26 <#-- Pinto el marcado enriquecido para el SEO -->
27 <#assign position=1>
28 <script type="application/ld+json">
29 {
30 "@context": "http://schema.org",
31 "@type": "BreadcrumbList",
32 "itemListElement": [
33 <#list entries as curEntry>
34 {
35 "@type": "ListItem",
36 "position": ${position},
37 "item": {
38 "@id": "${curEntry.getURL()}",
39 "name": "${curEntry.getTitle()}"
40 }
41 <#if position < entries?size>
42 },
43 <#else>
44 }
45 </#if>
46 <#assign position=position+1>
47 </#list>
48 ]}
49 </script>
50</@>