forked from FWS/TEMPLATE-Web-site-one-page
feat(dl): afficher version courante + liste anciennes versions
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user