Skip to content

Commit 9d773fd

Browse files
committed
Use absolute_urls for internal links from download-release
Why: To include the site url and base url, enabling this to work on a fork where the baseurl is not empty. Signed-off-by: Robert Young <[email protected]>
1 parent cd455ae commit 9d773fd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

_layouts/download-release.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ <h1 id="page-title" class="fs-3">{{ version }} Download</h1>
3030
</div>
3131
{%- endif -%}
3232
</p>
33-
<p>See the <a href="/release-archives/">release archives</a> for other releases.</p>
33+
<p>See the <a href="{{ '/release-archives/' | absolute_url }}">release archives</a> for other releases.</p>
3434
</div>
3535
</div>
3636
</div>
@@ -53,7 +53,7 @@ <h2 class="card-title fs-4"><a href='{{ release.releaseNotesUrl | replace: "$(VE
5353
<div class="col">
5454
<div class="card shadow mb-2 h-100 mx-2">
5555
<div class="card-header">
56-
<h2 class="card-title fs-4"><a href="/documentation/{{ releaseVersion }}/">Documentation and quick starts</a></h2>
56+
<h2 class="card-title fs-4"><a href="{{ '/documentation/' | append: releaseVersion | append: '/' | absolute_url }}">Documentation and quick starts</a></h2>
5757
</div>
5858
<div class="card-body mx-3 my-2">
5959
Learn how to use what you're downloading.

0 commit comments

Comments
 (0)