diff --git a/config/global/scripts/downloads.js b/config/global/scripts/downloads.js index b4b144b..87a8717 100644 --- a/config/global/scripts/downloads.js +++ b/config/global/scripts/downloads.js @@ -1,4 +1,7 @@ document.addEventListener("DOMContentLoaded", function () { + document.getElementById("options").style.display = "flex"; + document.getElementById("other").style.display = "block"; + const repoOwner = "mutant-remix"; const repoName = "mutant-remix"; diff --git a/config/global/styles/pages/downloads.css b/config/global/styles/pages/downloads.css index effacc5..9742bef 100644 --- a/config/global/styles/pages/downloads.css +++ b/config/global/styles/pages/downloads.css @@ -1,5 +1,10 @@ +#options, +#other { + display: none; +} + #options { - display: flex; + /* Set to flex in download.js */ gap: 3rem; } diff --git a/docs/scripts/downloads.js b/docs/scripts/downloads.js index b4b144b..87a8717 100644 --- a/docs/scripts/downloads.js +++ b/docs/scripts/downloads.js @@ -1,4 +1,7 @@ document.addEventListener("DOMContentLoaded", function () { + document.getElementById("options").style.display = "flex"; + document.getElementById("other").style.display = "block"; + const repoOwner = "mutant-remix"; const repoName = "mutant-remix"; diff --git a/docs/styles/pages/downloads.css b/docs/styles/pages/downloads.css index effacc5..9742bef 100644 --- a/docs/styles/pages/downloads.css +++ b/docs/styles/pages/downloads.css @@ -1,5 +1,10 @@ +#options, +#other { + display: none; +} + #options { - display: flex; + /* Set to flex in download.js */ gap: 3rem; } diff --git a/gen.sh b/gen.sh index 0591714..b836a9c 100755 --- a/gen.sh +++ b/gen.sh @@ -13,7 +13,7 @@ pages=( for page_config in "${pages[@]}"; do page="${page_config%% *}" output="${page_config#* }" - adduce -c "$page" -n "$output" -o docs + /home/vale/gitrepos/Adduce/target/release/adduce -c "$page" -n "$output" -o docs done # Copy global styles and assets