This is an automated email from the ASF dual-hosted git repository.
ctubbsii pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/accumulo-website.git
The following commit(s) were added to refs/heads/main by this push:
new 76a78fa46 Use direct download links when javascript unavailable
76a78fa46 is described below
commit 76a78fa46f0b42db76bdd4980809368db86ca103
Author: Christopher Tubbs <[email protected]>
AuthorDate: Tue Nov 25 15:52:34 2025 -0500
Use direct download links when javascript unavailable
Use closer.lua's capability to link directly to the download of a file,
rather than to another secondary download page, when initially loading
the page.
This preserves the same behavior for users when clicking on these links
if they have javascript disabled, as when javascript is enabled and
replaces these initial links with direct download links from the
selected mirror.
---
pages/downloads.md | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/pages/downloads.md b/pages/downloads.md
index ffc3a78cc..d795ddf29 100644
--- a/pages/downloads.md
+++ b/pages/downloads.md
@@ -87,7 +87,7 @@ available in a future update to this site.
{% assign lnkSuffix = '/accumulo/' | append: linkVers | append: '/' | append:
lnkFile %}
<div class="d-flex flex-wrap justify-content-start align-items-start"
style="margin-left: 20px; margin-bottom: 5px;">
<div class="btn-group me-2">
- <a {{btnDownloadStyle}} href="{{closerLink}}{{lnkSuffix}}"
link-suffix="{{lnkSuffix}}">{{lnkFile}}{{glyphSave}}</a>
+ <a {{btnDownloadStyle}} href="{{closerLink}}{{lnkSuffix}}?action=download"
link-suffix="{{lnkSuffix}}">{{lnkFile}}{{glyphSave}}</a>
</div>
<div class="btn-group">
<a {{btnSigStyle}}
href="{{downloadsLink}}{{lnkSuffix}}.asc">ASC{{glyphLock}}</a>
@@ -117,7 +117,7 @@ enhancements, and more.
{% assign lnkSuffix = '/accumulo/' | append: linkVers | append: '/' | append:
lnkFile %}
<div class="d-flex flex-wrap justify-content-start align-items-start"
style="margin-left: 20px; margin-bottom: 5px;">
<div class="btn-group me-2">
- <a {{btnDownloadStyle}} href="{{closerLink}}{{lnkSuffix}}"
link-suffix="{{lnkSuffix}}">{{lnkFile}}{{glyphSave}}</a>
+ <a {{btnDownloadStyle}} href="{{closerLink}}{{lnkSuffix}}?action=download"
link-suffix="{{lnkSuffix}}">{{lnkFile}}{{glyphSave}}</a>
</div>
<div class="btn-group">
<a {{btnSigStyle}}
href="{{downloadsLink}}{{lnkSuffix}}.asc">ASC{{glyphLock}}</a>
@@ -146,7 +146,7 @@ that can be used separately from Accumulo.
{% assign lnkSuffix = '/accumulo/accumulo-access/' | append: linkVers |
append: '/' | append: lnkFile %}
<div class="d-flex flex-wrap justify-content-start align-items-start"
style="margin-left: 20px; margin-bottom: 5px;">
<div class="btn-group me-2">
- <a {{btnDownloadStyle}} href="{{closerLink}}{{lnkSuffix}}"
link-suffix="{{lnkSuffix}}">{{lnkFile}}{{glyphSave}}</a>
+ <a {{btnDownloadStyle}} href="{{closerLink}}{{lnkSuffix}}?action=download"
link-suffix="{{lnkSuffix}}">{{lnkFile}}{{glyphSave}}</a>
</div>
<div class="btn-group">
<a {{btnSigStyle}}
href="{{downloadsLink}}{{lnkSuffix}}.asc">ASC{{glyphLock}}</a>