@@ -64,7 +64,7 @@ Canada.ca > Digital Accessibility Toolkit > How to’s > Create web content > Ac
6464 {% set url = page .url | replace (" /" , " " ) %}
6565 {% if url != locale %}
6666 <li property =" itemListElement" typeof =" ListItem" >
67- <a property =" item" typeof =" WebPage" href =" {{ pathPrefix }}/{{ locale }}/" >{{ settings [locale ].metaTitle }} </a >
67+ <a property =" item" typeof =" WebPage" href =" {% if pathPrefix %}{{ pathPrefix }}{% endif % }/{{ locale }}/" >{{ settings [locale ].metaTitle }} </a >
6868 <meta property =" position" content =" 2" >
6969 </li >
7070 {% endif %}
@@ -77,7 +77,7 @@ Canada.ca > Digital Accessibility Toolkit > How to’s > Create web content > Ac
7777 {% if subject %}
7878 {% for breadcrumb in subject %}
7979 <li property =" itemListElement" typeof =" ListItem" >
80- <a property =" item" typeof =" WebPage" href =" {{ pathPrefix }}/{{ locale }}/{{ tagList.tags[locale][breadcrumb] | stripTagsSlugify or tagList.subjects[locale][breadcrumb] | stripTagsSlugify }}" >
80+ <a property =" item" typeof =" WebPage" href =" {% if pathPrefix %}{{ pathPrefix }}{% endif % }/{{ locale }}/{{ tagList.tags[locale][breadcrumb] | stripTagsSlugify or tagList.subjects[locale][breadcrumb] | stripTagsSlugify }}" >
8181 <span property =" name" >{{ tagList .tags [locale ][breadcrumb ] or tagList .subjects [locale ][breadcrumb ] }} </span >
8282 </a >
8383 <meta property =" position" content =" {{ counter }}" >
@@ -91,7 +91,7 @@ Canada.ca > Digital Accessibility Toolkit > How to’s > Create web content > Ac
9191 {% for breadcrumb in tags %}
9292 {% if breadcrumb != " updatesMain" %}
9393 <li property =" itemListElement" typeof =" ListItem" >
94- <a property =" item" typeof =" WebPage" href =" {{ pathPrefix }}/{{ locale }}/{{ tagList.tags[locale][breadcrumb] | stripTagsSlugify or tagList.subjects[locale][breadcrumb] | stripTagsSlugify }}" >
94+ <a property =" item" typeof =" WebPage" href =" {% if pathPrefix %}{{ pathPrefix }}{% endif % }/{{ locale }}/{{ tagList.tags[locale][breadcrumb] | stripTagsSlugify or tagList.subjects[locale][breadcrumb] | stripTagsSlugify }}" >
9595 <span property =" name" >{{ tagList .tags [locale ][breadcrumb ] or tagList .subjects [locale ][breadcrumb ] }} </span >
9696 </a >
9797 <meta property =" position" content =" {{ counter }}" >
0 commit comments