feat(dl): afficher version courante + liste anciennes versions

This commit is contained in:
2026-05-28 18:21:54 +02:00
parent 5ccc51e8e5
commit 4a7df3e5b7
3 changed files with 41 additions and 0 deletions
+5
View File
@@ -38,6 +38,11 @@ document.addEventListener("DOMContentLoaded", () => {
if (currentVersionLabel) {
currentVersionLabel.textContent = `${currentVersion.label} ${currentVersion.date ? '— ' + currentVersion.date : ''}`.trim();
}
// update prominent latest download button
const latestBtn = document.querySelector('[data-latest-download]');
if (latestBtn) {
latestBtn.href = currentVersion.url || '#';
}
}
function renderArchive() {