From a64d948f4f226ea228690052374c627df5eeb7cb Mon Sep 17 00:00:00 2001 From: Alexander01998 Date: Wed, 20 Mar 2024 13:41:10 +0100 Subject: [PATCH] Update download links --- _includes/update/downloads.html | 6 ++++++ _includes/update/fabric-download.html | 15 ++++++++++----- _includes/update/wurst6-downloads.html | 3 ++- 3 files changed, 18 insertions(+), 6 deletions(-) diff --git a/_includes/update/downloads.html b/_includes/update/downloads.html index 42256dbaf..2e66acb79 100644 --- a/_includes/update/downloads.html +++ b/_includes/update/downloads.html @@ -7,6 +7,12 @@ } + + {%- for update in site.updates reversed -%} {%- assign latest = update.wurst-version -%} {%- break -%} diff --git a/_includes/update/fabric-download.html b/_includes/update/fabric-download.html index 369d02d4f..b6af58ecd 100644 --- a/_includes/update/fabric-download.html +++ b/_includes/update/fabric-download.html @@ -34,7 +34,8 @@ {%- capture mainlink -%}{{ mcxbase }}{{ basepath }}.jar{%- endcapture -%} {%- assign mainfile = mainlink | split: '/' | last -%} {%- capture srclink -%}{{ mcxbase }}{{ basepath }}-sources.jar{%- endcapture -%} {%- assign srcfile = srclink | split: '/' | last -%} - {%- capture devlink -%}{{ mcxbase }}{{ basepath }}-dev.jar{%- endcapture -%} {%- assign devfile = devlink | split: '/' | last -%} - {%- capture srcdevlink -%}{{ mcxbase }}{{ basepath }}-sources-dev.jar{%- endcapture -%} {%- assign srcdevfile = srcdevlink | split: '/' | last -%} - {%- endif -%}