Skip to content

Commit 4563528

Browse files
committed
Replace all {{ rootPath }} with {{ pathPrefix }}/ for robust internal links and assets. All internal links verified unbroken.
1 parent ecb25c0 commit 4563528

File tree

64 files changed

+191
-196
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+191
-196
lines changed

src/_data/eleventyComputed.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
const pathPrefix = require('./pathPrefix')(); // resolve once per build
22

33
module.exports = {
4-
rootPath(data) {
5-
// For GitHub Pages, use the pathPrefix with trailing slash for assets
6-
// This ensures consistent behavior for both main repo and forks
7-
return pathPrefix ? pathPrefix + '/' : '/';
8-
},
94
eleventyExcludeFromCollections(data) {
105
return data.archived === true;
116
}

src/_includes/information-and-communication-technology-ict-accessibility-requirements/figures.njk

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,21 @@
22

33
<div class="row wb-eqht">
44
<figure class="col-lg-6" id="figure1">
5-
<figcaption class="h4">Figure 1: Relationship between minimum character height and maximum design viewing distance</figcaption> <img class="img-responsive" src="{{ rootPath }}img/requirements/image1.png" alt="A diagram illustrating the content of clause 5.1.4" />
5+
<figcaption class="h4">Figure 1: Relationship between minimum character height and maximum design viewing distance</figcaption> <img class="img-responsive" src="{{ pathPrefix }}/img/requirements/image1.png" alt="A diagram illustrating the content of clause 5.1.4" />
66
<p>Related content:</p>
77
<ul>
88
<li><a href="#5.1.4">5.1.4 Functionality closed to text enlargement</a></li>
99
</ul>
1010
</figure>
1111
<figure class="col-lg-6" id="figure2">
12-
<figcaption class="h4">Figure 2: Unobstructed forward reach </figcaption> <img class="img-responsive" src="{{ rootPath }}img/requirements/image2.png" alt="A diagram illustrating the content of clause 8.3.2" />
12+
<figcaption class="h4">Figure 2: Unobstructed forward reach </figcaption> <img class="img-responsive" src="{{ pathPrefix }}/img/requirements/image2.png" alt="A diagram illustrating the content of clause 8.3.2" />
1313
<p>Related content:</p>
1414
<ul>
1515
<li><a href="#8.3.2">8.3.2 Forward reach</a></li>
1616
</ul>
1717
</figure>
1818
<figure class="col-lg-6" id="figure3">
19-
<figcaption class="h4">Figure 3: Obstructed forward reach</figcaption> <img class="img-responsive" src="{{ rootPath }}img/requirements/image3.png" alt="A diagram illustrating the content of clauses 8.3.2.3.2 and 8.3.2.3.3" />
19+
<figcaption class="h4">Figure 3: Obstructed forward reach</figcaption> <img class="img-responsive" src="{{ pathPrefix }}/img/requirements/image3.png" alt="A diagram illustrating the content of clauses 8.3.2.3.2 and 8.3.2.3.3" />
2020
<p>Related content:</p>
2121
<ul>
2222
<li><a href="#8.3.2.3.2">8.3.2.3.2 Obstructed (&lt510 mm) forward reach</a></li>
@@ -25,63 +25,63 @@
2525
</ul>
2626
</figure>
2727
<figure class="col-lg-6" id="figure4">
28-
<figcaption class="h4">Figure 4: Toe clearance </figcaption> <img class="img-responsive" src="{{ rootPath }}img/requirements/image4.png" alt="A diagram illustrating the content of clause 8.3.2.5" />
28+
<figcaption class="h4">Figure 4: Toe clearance </figcaption> <img class="img-responsive" src="{{ pathPrefix }}/img/requirements/image4.png" alt="A diagram illustrating the content of clause 8.3.2.5" />
2929
<p>Related content:</p>
3030
<ul>
3131
<li><a href="#8.3.2.5">8.3.2.5 Toe clearance</a></li>
3232
</ul>
3333
</figure>
3434
<figure class="col-lg-6" id="figure5">
35-
<figcaption class="h4">Figure 5: Knee clearance</figcaption> <img class="img-responsive" src="{{ rootPath }}img/requirements/image5.png" alt="A diagram illustrating the content of the text 8.3.2.6 Knee clearance." />
35+
<figcaption class="h4">Figure 5: Knee clearance</figcaption> <img class="img-responsive" src="{{ pathPrefix }}/img/requirements/image5.png" alt="A diagram illustrating the content of the text 8.3.2.6 Knee clearance." />
3636
<p>Related content:</p>
3737
<ul>
3838
<li><a href="#8.3.2.6">8.3.2.6 Knee clearance</a></li>
3939
</ul>
4040
</figure>
4141
<figure class="col-lg-6" id="figure6">
42-
<figcaption class="h4">Figure 6: Unobstructed side reach</figcaption> <img class="img-responsive" src="{{ rootPath }}img/requirements/image6.png" alt="A diagram illustrating the content of clause 8.3.3" />
42+
<figcaption class="h4">Figure 6: Unobstructed side reach</figcaption> <img class="img-responsive" src="{{ pathPrefix }}/img/requirements/image6.png" alt="A diagram illustrating the content of clause 8.3.3" />
4343
<p>Related content:</p>
4444
<ul>
4545
<li><a href="#8.3.3">8.3.3 Side reach</a></li>
4646
</ul>
4747
</figure>
4848
<figure class="col-lg-6" id="figure7">
49-
<figcaption class="h4">Figure 7: Obstructed high side reach </figcaption> <img class="img-responsive" src="{{ rootPath }}img/requirements/image7.png" alt="A diagram illustrating the content of clause 8.3.3.3" />
49+
<figcaption class="h4">Figure 7: Obstructed high side reach </figcaption> <img class="img-responsive" src="{{ pathPrefix }}/img/requirements/image7.png" alt="A diagram illustrating the content of clause 8.3.3.3" />
5050
<p>Related content:</p>
5151
<ul>
5252
<li><a href="#8.3.3.3">8.3.3.3 Obstructed side reach</a></li>
5353
</ul>
5454
</figure>
5555
<figure class="col-lg-6" id="figure8">
56-
<figcaption class="h4">Figure 8: Vertical change in level</figcaption> <img class="img-responsive" src="{{ rootPath }}img/requirements/image8.png" alt="A diagram illustrating the content of clause 8.3.4.1 a)" />
56+
<figcaption class="h4">Figure 8: Vertical change in level</figcaption> <img class="img-responsive" src="{{ pathPrefix }}/img/requirements/image8.png" alt="A diagram illustrating the content of clause 8.3.4.1 a)" />
5757
<p>Related content:</p>
5858
<ul>
5959
<li><a href="#8.3.4.1">8.3.4.1 Change in level - a) If the change in floor level is less than or equal to 6,4 mm (¼ inch) the change may be vertical as shown in Figure 8.</a></li>
6060
</ul>
6161
</figure>
6262
<figure class="col-lg-6" id="figure9">
63-
<figcaption class="h4">Figure 9: Bevelled change in level </figcaption> <img class="img-responsive" src="{{ rootPath }}img/requirements/image9.png" alt="A diagram illustrating the content of the text 8.3.4.1 b)" />
63+
<figcaption class="h4">Figure 9: Bevelled change in level </figcaption> <img class="img-responsive" src="{{ pathPrefix }}/img/requirements/image9.png" alt="A diagram illustrating the content of the text 8.3.4.1 b)" />
6464
<p>Related content:</p>
6565
<ul>
6666
<li><a href="#8.3.4.1">8.3.4.1 Change in level - b) If the change in floor level is less than or equal to 13 mm (½ inch) the change may have a slope not steeper than 1:2 as shown in Figure 9.</a></li>
6767
</ul>
6868
</figure>
6969
<figure class="col-lg-6" id="figure10">
70-
<figcaption class="h4">Figure 10: Clear floor or ground space</figcaption> <img class="img-responsive" src="{{ rootPath }}img/requirements/image10.png" alt="A diagram illustrating the content of clause 8.3.4.2" />
70+
<figcaption class="h4">Figure 10: Clear floor or ground space</figcaption> <img class="img-responsive" src="{{ pathPrefix }}/img/requirements/image10.png" alt="A diagram illustrating the content of clause 8.3.4.2" />
7171
<p>Related content:</p>
7272
<ul>
7373
<li><a href="#8.3.4.2">8.3.4.2 Clear floor or ground space</a></li>
7474
</ul>
7575
</figure>
7676
<figure class="col-lg-6" id="figure11">
77-
<figcaption class="h4">Figure 11: Manoeuvring Clearance in an Alcove, Forward Approach</figcaption> <img class="img-responsive" src="{{ rootPath }}img/requirements/image11.png" alt="A diagram illustrating the content of clause 8.3.4.3.2" />
77+
<figcaption class="h4">Figure 11: Manoeuvring Clearance in an Alcove, Forward Approach</figcaption> <img class="img-responsive" src="{{ pathPrefix }}/img/requirements/image11.png" alt="A diagram illustrating the content of clause 8.3.4.3.2" />
7878
<p>Related content:</p>
7979
<ul>
8080
<li><a href="#8.3.4.3.2">8.3.4.3.2 Forward approach</a></li>
8181
</ul>
8282
</figure>
8383
<figure class="col-lg-6" id="figure12">
84-
<figcaption class="h4">Figure 12: Manoeuvring Clearance in an Alcove, Parallel Approach</figcaption> <img class="img-responsive" src="{{ rootPath }}img/requirements/image12.png" alt="A diagram illustrating the content of clause 8.3.4.3.3" />
84+
<figcaption class="h4">Figure 12: Manoeuvring Clearance in an Alcove, Parallel Approach</figcaption> <img class="img-responsive" src="{{ pathPrefix }}/img/requirements/image12.png" alt="A diagram illustrating the content of clause 8.3.4.3.3" />
8585
<p>Related content:</p>
8686
<ul>
8787
<li><a href="#8.3.4.3.3">8.3.4.3.3 Parallel approach</a></li>
@@ -93,21 +93,21 @@
9393

9494
<div class="row wb-eqht">
9595
<figure class="col-lg-6" id="figure1">
96-
<figcaption class="h4">Figure 1 : Relation entre la hauteur minimale des caractères et la distance de visualisation du dessin maximale</figcaption> <img class="img-responsive" src="{{ rootPath }}img/requirements/image1-fr.gif" alt="Un diagramme illustrant le contenu de la clause 5.1.4." />
96+
<figcaption class="h4">Figure 1 : Relation entre la hauteur minimale des caractères et la distance de visualisation du dessin maximale</figcaption> <img class="img-responsive" src="{{ pathPrefix }}/img/requirements/image1-fr.gif" alt="Un diagramme illustrant le contenu de la clause 5.1.4." />
9797
<p>Contenu connexe:</p>
9898
<ul>
9999
<li><a href="#5.1.4">5.1.4 Fonction restreinte à l’agrandissement du texte</a></li>
100100
</ul>
101101
</figure>
102102
<figure class="col-lg-6" id="figure2">
103-
<figcaption class="h4">Figure 2 : Portée avant libre </figcaption> <img class="img-responsive" src="{{ rootPath }}img/requirements/image2.png" alt="Un diagramme illustrant le contenu de la clause 8.3.2." />
103+
<figcaption class="h4">Figure 2 : Portée avant libre </figcaption> <img class="img-responsive" src="{{ pathPrefix }}/img/requirements/image2.png" alt="Un diagramme illustrant le contenu de la clause 8.3.2." />
104104
<p>Contenu connexe:</p>
105105
<ul>
106106
<li><a href="#8.3.2">8.3.2 Portée avant</a></li>
107107
</ul>
108108
</figure>
109109
<figure class="col-lg-6" id="figure3">
110-
<figcaption class="h4">Figure 3 : Portée avant obstruée</figcaption> <img class="img-responsive" src="{{ rootPath }}img/requirements/image3.png" alt="Un diagramme illustrant le contenu des clauses 8.3.2.3.2 et 8.3.2.3.3." />
110+
<figcaption class="h4">Figure 3 : Portée avant obstruée</figcaption> <img class="img-responsive" src="{{ pathPrefix }}/img/requirements/image3.png" alt="Un diagramme illustrant le contenu des clauses 8.3.2.3.2 et 8.3.2.3.3." />
111111
<p>Contenu connexe:</p>
112112
<ul>
113113
<li><a href="#8.3.2.3.2">8.3.2.3.2 Portée avant obstruée (&lt510 mm)</a></li>
@@ -116,63 +116,63 @@
116116
</ul>
117117
</figure>
118118
<figure class="col-lg-6" id="figure4">
119-
<figcaption class="h4">Figure 4 : Espace libre pour les pieds </figcaption> <img class="img-responsive" src="{{ rootPath }}img/requirements/image4.png" alt="Un diagramme illustrant le contenu de la clause 8.3.2.5." />
119+
<figcaption class="h4">Figure 4 : Espace libre pour les pieds </figcaption> <img class="img-responsive" src="{{ pathPrefix }}/img/requirements/image4.png" alt="Un diagramme illustrant le contenu de la clause 8.3.2.5." />
120120
<p>Contenu connexe:</p>
121121
<ul>
122122
<li><a href="#8.3.2.5">8.3.2.5 Espace libre pour les pieds</a></li>
123123
</ul>
124124
</figure>
125125
<figure class="col-lg-6" id="figure5">
126-
<figcaption class="h4">Figure 5 : Espace libre pour les genoux</figcaption> <img class="img-responsive" src="{{ rootPath }}img/requirements/image5.png" alt="Un diagramme illustrant le contenu du texte 8.3.2.6 Espace libre pour les genoux." />
126+
<figcaption class="h4">Figure 5 : Espace libre pour les genoux</figcaption> <img class="img-responsive" src="{{ pathPrefix }}/img/requirements/image5.png" alt="Un diagramme illustrant le contenu du texte 8.3.2.6 Espace libre pour les genoux." />
127127
<p>Contenu connexe:</p>
128128
<ul>
129129
<li><a href="#8.3.2.6">8.3.2.6 Espace libre pour les genoux</a></li>
130130
</ul>
131131
</figure>
132132
<figure class="col-lg-6" id="figure6">
133-
<figcaption class="h4">Figure 6 : Portée latérale libre</figcaption> <img class="img-responsive" src="{{ rootPath }}img/requirements/image6.png" alt="Un diagramme illustrant le contenu de la clause 8.3.3." />
133+
<figcaption class="h4">Figure 6 : Portée latérale libre</figcaption> <img class="img-responsive" src="{{ pathPrefix }}/img/requirements/image6.png" alt="Un diagramme illustrant le contenu de la clause 8.3.3." />
134134
<p>Contenu connexe:</p>
135135
<ul>
136136
<li><a href="#8.3.3">8.3.3 Portée latérale</a></li>
137137
</ul>
138138
</figure>
139139
<figure class="col-lg-6" id="figure7">
140-
<figcaption class="h4">Figure 7 : Portée latérale haute obstruée </figcaption> <img class="img-responsive" src="{{ rootPath }}img/requirements/image7.png" alt="Un diagramme illustrant le contenu de la clause 8.3.3.3." />
140+
<figcaption class="h4">Figure 7 : Portée latérale haute obstruée </figcaption> <img class="img-responsive" src="{{ pathPrefix }}/img/requirements/image7.png" alt="Un diagramme illustrant le contenu de la clause 8.3.3.3." />
141141
<p>Contenu connexe:</p>
142142
<ul>
143143
<li><a href="#8.3.3.3">8.3.3.3 Portée latérale obstruée</a></li>
144144
</ul>
145145
</figure>
146146
<figure class="col-lg-6" id="figure8">
147-
<figcaption class="h4">Figure 8 : Changement de niveau vertical</figcaption> <img class="img-responsive" src="{{ rootPath }}img/requirements/image8.png" alt="Un diagramme illustrant le contenu de la clause 8.3.4.1 a)." />
147+
<figcaption class="h4">Figure 8 : Changement de niveau vertical</figcaption> <img class="img-responsive" src="{{ pathPrefix }}/img/requirements/image8.png" alt="Un diagramme illustrant le contenu de la clause 8.3.4.1 a)." />
148148
<p>Contenu connexe:</p>
149149
<ul>
150150
<li><a href="#8.3.4.1">8.3.4.1 Changement de niveau - a) Si le changement de niveau du plancher est inférieur ou égal à 6,4 mm (1/4 po), le changement peut être vertical comme l’indique la figure 8.</a></li>
151151
</ul>
152152
</figure>
153153
<figure class="col-lg-6" id="figure9">
154-
<figcaption class="h4">Figure 9 : Changement de niveau en biseau</figcaption> <img class="img-responsive" src="{{ rootPath }}img/requirements/image9.png" alt="Un diagramme illustrant le contenu de la clause 8.3.4.1 b)." />
154+
<figcaption class="h4">Figure 9 : Changement de niveau en biseau</figcaption> <img class="img-responsive" src="{{ pathPrefix }}/img/requirements/image9.png" alt="Un diagramme illustrant le contenu de la clause 8.3.4.1 b)." />
155155
<p>Contenu connexe:</p>
156156
<ul>
157157
<li><a href="#8.3.4.1">8.3.4.1 Changement de niveau - b) Si le changement de niveau du plancher est inférieur ou égal à 13 mm (1/2 po), le changement peut présenter une pente d’au plus 1 :2 comme il est illustré à la figure 9.</a></li>
158158
</ul>
159159
</figure>
160160
<figure class="col-lg-6" id="figure10">
161-
<figcaption class="h4">Figure 10 : Surface au sol dégagée</figcaption> <img class="img-responsive" src="{{ rootPath }}img/requirements/image10.png" alt="Un diagramme illustrant le contenu de la clause 8.3.4.2." />
161+
<figcaption class="h4">Figure 10 : Surface au sol dégagée</figcaption> <img class="img-responsive" src="{{ pathPrefix }}/img/requirements/image10.png" alt="Un diagramme illustrant le contenu de la clause 8.3.4.2." />
162162
<p>Contenu connexe:</p>
163163
<ul>
164164
<li><a href="#8.3.4.2">8.3.4.2 Surface de plancher ou de sol dégagée</a></li>
165165
</ul>
166166
</figure>
167167
<figure class="col-lg-6" id="figure11">
168-
<figcaption class="h4">Figure 11 : Espace libre de manœuvre dans une alcôve, approche avant</figcaption> <img class="img-responsive" src="{{ rootPath }}img/requirements/image11.png" alt="Un diagramme illustrant le contenu de la clause 8.3.4.3.2." />
168+
<figcaption class="h4">Figure 11 : Espace libre de manœuvre dans une alcôve, approche avant</figcaption> <img class="img-responsive" src="{{ pathPrefix }}/img/requirements/image11.png" alt="Un diagramme illustrant le contenu de la clause 8.3.4.3.2." />
169169
<p>Contenu connexe:</p>
170170
<ul>
171171
<li><a href="#8.3.4.3.2">8.3.4.3.2 Approche avant</a></li>
172172
</ul>
173173
</figure>
174174
<figure class="col-lg-6" id="figure12">
175-
<figcaption class="h4">Figure 12 : Espace libre de manœuvre dans une alcôve approche parallèle</figcaption> <img class="img-responsive" src="{{ rootPath }}img/requirements/image12.png" alt="Un diagramme illustrant le contenu de la clause 8.3.4.3.3." />
175+
<figcaption class="h4">Figure 12 : Espace libre de manœuvre dans une alcôve approche parallèle</figcaption> <img class="img-responsive" src="{{ pathPrefix }}/img/requirements/image12.png" alt="Un diagramme illustrant le contenu de la clause 8.3.4.3.3." />
176176
<p>Contenu connexe:</p>
177177
<ul>
178178
<li><a href="#8.3.4.3.3">8.3.4.3.3 Approche parallèle</a></li>

src/_includes/partials/download.njk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
{% set translations = download[locale] %}
33
<div class="row">
44
<div class="col-sm-6">
5-
<a class="gc-dwnld-lnk" href="{{ rootPath }}docs/{{ hasDocument.filename }}" download="{{ title | stripTagsSlugify }}">
5+
<a class="gc-dwnld-lnk" href="{{ pathPrefix }}/docs/{{ hasDocument.filename }}" download="{{ title | stripTagsSlugify }}">
66
<div class="well gc-dwnld">
77
<div class="row">
88
<div class="col-xs-4">
99
<p>
1010
<img
1111
class="img-responsive thumbnail gc-dwnld-img"
12-
src="{{ rootPath }}img/doc.png"
12+
src="{{ pathPrefix }}/img/doc.png"
1313
alt="" />
1414
</p>
1515
</div>

src/_includes/partials/head.njk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,13 @@
3333

3434

3535
{% if toggle %}
36-
<link rel="alternate" hreflang="{{ otherLang }}" href="{{ rootPath }}{% if toggle != "fr" and toggle != "en" %}{{ otherLang }}/{% endif %}{{ toggle }}/index.html" />
36+
<link rel="alternate" hreflang="{{ otherLang }}" href="{{ pathPrefix }}/{% if toggle != "fr" and toggle != "en" %}{{ otherLang }}/{% endif %}{{ toggle }}/index.html" />
3737
{% endif %}
3838

3939
<link href="https://www.canada.ca/etc/designs/canada/wet-boew/assets/favicon.ico" rel="icon" type="image/x-icon">
4040
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.1/css/all.css" integrity="sha384-50oBUHEmvpQ+1lW4y57PTFmhCaXp0ML5d60M1M7uH2+nqUivzIebhndOJK28anvf" crossorigin="anonymous"/>
4141
<link rel="stylesheet" href="https://www.canada.ca/etc/designs/canada/wet-boew/css/theme.min.css"/>
42-
<link rel="stylesheet" href="{{ rootPath }}css/da11yn.css">
42+
<link rel="stylesheet" href="{{ pathPrefix }}/css/da11yn.css">
4343

4444
<!-- Meta tags -->
4545

src/_includes/partials/lang.njk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<h2 class="wb-inv">{{ header[locale].languageSelections }}</h2>
55
<ul class="list-inline mrgn-bttm-0">
66
<li>
7-
<a lang="{{ otherLang }}" hreflang="{{ otherLang }}" href="{{ rootPath }}{% if toggle != "fr" and toggle != "en" %}{{ otherLang }}/{% endif %}{{ toggle }}/">
7+
<a lang="{{ otherLang }}" hreflang="{{ otherLang }}" href="{{ pathPrefix }}/{% if toggle != "fr" and toggle != "en" %}{{ otherLang }}/{% endif %}{{ toggle }}/">
88
<span class="hidden-xs" translate="no">{{ otherLanguage }}</span>
99
<abbr title="{{ otherLanguage }}" translate="no" class="visible-xs h3 mrgn-tp-sm mrgn-bttm-0 text-uppercase"> {{ otherLang }}</abbr>
1010
</a>

src/_includes/partials/pageList.njk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@
134134
<p>{% if settings.env == "local" %}<strong>{{ pageList[locale].descriptionText }}{% if locale === "fr" %} {% endif %}: </strong>{% endif %}{% if entry.data.description %}{{ entry.data.description | striptags(true) | escape | nl2br }}{% else %} <span class="label label-danger">{{ landingPage[locale].descriptionNoneText }}</span>{% endif %}</p>
135135
{% if settings.env == "local" %}<p><strong>{{ pageList[locale].pathText }}{% if locale === "fr" %} {% endif %}:</strong> <code>{{ entry.url }}</code></p>{% endif %}
136136
{% if settings.env == "local" %}<p><strong>{{ pageList[locale].filePathText }}{% if locale === "fr" %} {% endif %}:</strong> <code><a href="https://github.com/gc-da11yn/gc-da11yn.github.io/tree/{{ branch }}{{ newPath }}">{{ newPath }}</a></code></p>{% endif %}
137-
{% if settings.env == "local" %}<p><strong>toggle{% if locale === "fr" %} {% endif %}:</strong> <code><a href="{{ rootPath }}{{ otherLang }}/{{ entry.data.toggle }}">{{ entry.data.toggle }}</a></code></p>{% endif %}
137+
{% if settings.env == "local" %}<p><strong>toggle{% if locale === "fr" %} {% endif %}:</strong> <code><a href="{{ pathPrefix }}/{{ otherLang }}/{{ entry.data.toggle }}">{{ entry.data.toggle }}</a></code></p>{% endif %}
138138
</section>
139139
{% endif %}
140140
{% endif %}

src/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<meta http-equiv="refresh" content="0; URL={{ rootPath }}en/" />
1+
<meta http-equiv="refresh" content="0; URL={{ pathPrefix }}/en/" />

src/main/en/about-us/website-usage-analytics/data.njk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ eleventyExcludeFromCollections: true
88

99
{% include "partials/analytics-chart.njk" %}
1010

11-
<p class="mrgn-tp-lg"><a href="{{ rootPath }}en/website-usage-analytics"><i class="fas fa-align-left mrgn-rght-md" aria-hidden="true"></i>Check out this information in simple text</a></p>
11+
<p class="mrgn-tp-lg"><a href="{{ pathPrefix }}/en/website-usage-analytics"><i class="fas fa-align-left mrgn-rght-md" aria-hidden="true"></i>Check out this information in simple text</a></p>
1212

1313
{% include "partials/analytics-toc.njk" %}
1414

0 commit comments

Comments
 (0)