Skip to content

Commit 5d31f98

Browse files
authored
Use trailing slashes on all relativised URLs (#9481)
1 parent 4da6bec commit 5d31f98

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

ui/src/partials/landing.hbs

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@
99
</p>
1010
<ol class="list-decimal list-inside text-link-on-light">
1111
<li>
12-
<a href="{{{relativize '/guides/getting-started/first-steps'}}}">Connect your code</a>
12+
<a href="{{{relativize '/guides/getting-started/first-steps/'}}}">Connect your code</a>
1313
</li>
1414
<li>
15-
<a href="{{{relativize '/guides/getting-started/create-project'}}}">Set up a project</a>
15+
<a href="{{{relativize '/guides/getting-started/create-project/'}}}">Set up a project</a>
1616
</li>
1717
<li>
18-
<a href="{{{relativize '/guides/getting-started/invite-your-team'}}}">Invite your team</a>
18+
<a href="{{{relativize '/guides/getting-started/invite-your-team/'}}}">Invite your team</a>
1919
</li>
2020
</ol>
2121
</div>
@@ -29,7 +29,7 @@
2929
</p>
3030

3131
<div class="flex flex-col md:flex-row gap-8 md:justify-between">
32-
<a href="{{{relativize '/guides/getting-started/getting-started'}}}" class="group flex-1 rounded-2xl border border-vapor p-8 hover:bg-inline-grey flex flex-col justify-between items-start">
32+
<a href="{{{relativize '/guides/getting-started/getting-started/'}}}" class="group flex-1 rounded-2xl border border-vapor p-8 hover:bg-inline-grey flex flex-col justify-between items-start">
3333
<img src="{{{uiRootPath}}}/img/deployment.svg" alt="Quick Start Rocket" class="h-[48px]">
3434
<p class="flex items-center justify-between font-medium text-[20px] lg:text-[24px] md:flex-col lg:flex-row lg:items-center md:items-start mt-4">
3535
Quickstart guide
@@ -38,7 +38,7 @@
3838
</svg>
3939
</p>
4040
</a>
41-
<a href="{{{relativize '/guides/getting-started/hello-world'}}}" class="group flex-1 rounded-2xl border border-vapor p-8 hover:bg-inline-grey flex flex-col justify-between items-start">
41+
<a href="{{{relativize '/guides/getting-started/hello-world/'}}}" class="group flex-1 rounded-2xl border border-vapor p-8 hover:bg-inline-grey flex flex-col justify-between items-start">
4242
<img src="{{{uiRootPath}}}/img/insights.svg" alt="Idea - Hello world" class="h-[48px]">
4343
<p class="flex items-center justify-between font-medium text-[20px] lg:text-[24px] md:flex-col lg:flex-row lg:items-center md:items-start mt-4">
4444
Hello world
@@ -47,7 +47,7 @@
4747
</svg>
4848
</p>
4949
</a>
50-
<a href="{{{relativize '/guides/getting-started/slack-orb-tutorial'}}}" class="group flex-1 rounded-2xl border border-vapor p-8 hover:bg-inline-grey flex flex-col justify-between items-start">
50+
<a href="{{{relativize '/guides/getting-started/slack-orb-tutorial/'}}}" class="group flex-1 rounded-2xl border border-vapor p-8 hover:bg-inline-grey flex flex-col justify-between items-start">
5151
<img src="{{{uiRootPath}}}/img/chat-with-us.svg" alt="Chat Notifications" class="h-[48px]">
5252
<p class="flex items-center justify-between font-medium text-[20px] lg:text-[24px] md:flex-col lg:flex-row lg:items-center md:items-start mt-4">
5353
Slack Notifications
@@ -66,7 +66,7 @@
6666
<img src="{{{uiRootPath}}}/img/stack.svg" alt="Execution Environments" class="h-7 w-7 p-0.5">
6767
</div>
6868
<div>
69-
<a href="{{{relativize '/guides/execution-managed/executor-intro'}}}" class="text-link-on-light">
69+
<a href="{{{relativize '/guides/execution-managed/executor-intro/'}}}" class="text-link-on-light">
7070
<h5 class="font-medium text-[20px]">
7171
Execution Environments
7272
</h5>
@@ -81,7 +81,7 @@
8181
<img src="{{{uiRootPath}}}/img/pipeline.svg" alt="Pipelines" class="h-7 w-7 p-0.5">
8282
</div>
8383
<div>
84-
<a href="{{{relativize '/guides/orchestrate/pipelines'}}}" class="text-link-on-light">
84+
<a href="{{{relativize '/guides/orchestrate/pipelines/'}}}" class="text-link-on-light">
8585
<h5 class="font-medium text-[20px]">
8686
Pipelines
8787
</h5>
@@ -96,7 +96,7 @@
9696
<img src="{{{uiRootPath}}}/img/job.svg" alt="Jobs Deployment Examples" class="h-7 w-7 p-0.5">
9797
</div>
9898
<div>
99-
<a href="{{{relativize '/guides/deploy/deployment-overview'}}}" class="text-link-on-light">
99+
<a href="{{{relativize '/guides/deploy/deployment-overview/'}}}" class="text-link-on-light">
100100
<h5 class="font-medium text-[20px]">
101101
Deployment Examples
102102
</h5>
@@ -111,7 +111,7 @@
111111
<img src="{{{uiRootPath}}}/img/container.svg" alt="Docker Container" class="h-7 w-7 p-0.5">
112112
</div>
113113
<div>
114-
<a href="{{{relativize '/guides/execution-managed/using-docker'}}}" class="text-link-on-light">
114+
<a href="{{{relativize '/guides/execution-managed/using-docker/'}}}" class="text-link-on-light">
115115
<h5 class="font-medium text-[20px]">
116116
Using Docker
117117
</h5>
@@ -127,7 +127,7 @@
127127
<img src="{{{uiRootPath}}}/img/orbs.svg" alt="Orbs" class="h-7 w-7 p-0.5">
128128
</div>
129129
<div>
130-
<a href="{{{relativize '/orbs/use/orb-intro'}}}" class="text-link-on-light">
130+
<a href="{{{relativize '/orbs/use/orb-intro/'}}}" class="text-link-on-light">
131131
<h5 class="font-medium text-[20px]">
132132
Third Party Integrations
133133
</h5>
@@ -143,7 +143,7 @@
143143
<img src="{{{uiRootPath}}}/img/security.svg" alt="Security" class="h-7 w-7 p-0.5">
144144
</div>
145145
<div>
146-
<a href="{{{relativize '/guides/security/contexts'}}}" class="text-link-on-light">
146+
<a href="{{{relativize '/guides/security/contexts/'}}}" class="text-link-on-light">
147147
<h5 class="font-medium text-[20px]">
148148
Security
149149
</h5>
@@ -164,7 +164,7 @@
164164
<p class="text-left lg:text-justify max-w-[400px]">
165165
View and manage your deployments from a single dashboard. Gain immediate visibility into org wide deployments. No infra access required.
166166
</p>
167-
<a href="{{{relativize '/guides/deploy/deploys-overview'}}}" class="flex items-center gap-2 mt-4">
167+
<a href="{{{relativize '/guides/deploy/deploys-overview/'}}}" class="flex items-center gap-2 mt-4">
168168
<p class="font-medium text-[18px] underline underline-offset-3 decoration-2">
169169
Get started with deploys
170170
</p>
@@ -180,30 +180,30 @@
180180
<h4 class="font-medium text-[20px] md:text-[24px] mb-6">Samples</h4>
181181
<ul class="text-link-on-light flex flex-col gap-2">
182182
<li>
183-
<a href="{{{relativize '/guides/toolkit/sample-config'}}}">Sample config.yml Files</a>
183+
<a href="{{{relativize '/guides/toolkit/sample-config/'}}}">Sample config.yml Files</a>
184184
</li>
185185
<li>
186-
<a href="{{{relativize '/guides/toolkit/postgres-config'}}}">Database Config Examples</a>
186+
<a href="{{{relativize '/guides/toolkit/postgres-config/'}}}">Database Config Examples</a>
187187
</li>
188188
<li>
189-
<a href="{{{relativize '/guides/security/set-environment-variable'}}}">Using Environment Variables</a>
189+
<a href="{{{relativize '/guides/security/set-environment-variable/'}}}">Using Environment Variables</a>
190190
</li>
191191
</ul>
192192
</div>
193193
<div>
194194
<h4 class="font-medium text-[20px] md:text-[24px] mb-6">Tools</h4>
195195
<ul class="text-link-on-light flex flex-col gap-2">
196196
<li>
197-
<a href="{{{relativize '/reference/configuration-reference'}}}">Configuration Reference</a>
197+
<a href="{{{relativize '/reference/configuration-reference/'}}}">Configuration Reference</a>
198198
</li>
199199
<li>
200-
<a href="{{{relativize '/guides/integration/outbound-webhooks'}}}">Outbound webhooks</a>
200+
<a href="{{{relativize '/guides/integration/outbound-webhooks/'}}}">Outbound webhooks</a>
201201
</li>
202202
<li>
203-
<a href="{{{relativize '/api/v2'}}}">API v2 Reference</a>
203+
<a href="{{{relativize '/api/v2/'}}}">API v2 Reference</a>
204204
</li>
205205
<li>
206-
<a href="{{{relativize '/api/v1'}}}">API v1 Reference</a>
206+
<a href="{{{relativize '/api/v1/'}}}">API v1 Reference</a>
207207
</li>
208208
</ul>
209209
</div>

0 commit comments

Comments
 (0)