From 8666d490c243b30ea2176eea53ecce031b4880e4 Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Wed, 12 Jul 2023 13:30:12 -0700 Subject: downloads: jQuery take 2 Signed-off-by: Robin H. Johnson --- downloads/index.html | 71 ++++++++++++++++++++++++++++++---------------------- 1 file changed, 41 insertions(+), 30 deletions(-) (limited to 'downloads') diff --git a/downloads/index.html b/downloads/index.html index 1efdfe5..1692891 100644 --- a/downloads/index.html +++ b/downloads/index.html @@ -5,7 +5,18 @@ nav1-weight: 9 title: 'Downloads' # Select the correct tab based on the anchor hash in the URL. -inlinejs: "$(function() { var h = window.location.hash; if(h == '' || $(h).length == 0) { h = '#other-arches a:first'; }; $(h).tab('show'); });" +# TODO: better validation, use explicit arch list. +inlinejs: "$( + function() { + var h = window.location.hash; + var hb = '#other-arches a'; + var h2 = hb + '[href="' + h + '"]'; + if(h == '' || $(h2).length == 0) { + h2 = hb + ':first'; + }; + $(h2).tab('show'); + } +);" ---
@@ -40,7 +51,7 @@ inlinejs: "$(function() { var h = window.location.hash; if(h == '' || $(h).lengt for the complete installation documentation. It explains how you can find the right architecture for your machine and which files you need at what stage of the installation process.
In brief, a stage 3 is a minimal set of Gentoo binaries that can upgrade and expand itself (but not much more, i.e., no kernel - or boot loader). The desktop version already contains additional programs needed in a typical desktop installation. The installation CD can be + or boot loader). The desktop version already contains additional programs needed in a typical desktop installation. The installation CD can be used to boot and, well, install Gentoo.

@@ -52,102 +63,102 @@ inlinejs: "$(function() { var h = window.location.hash; if(h == '' || $(h).lengt
-
+

amd64 – Advanced choices

{% include downloads/amd64-advanced.html %}
-
+

alpha

{% include downloads/alpha.html %}
-
+

arm

{% include downloads/arm.html %}
-
+

arm64

{% include downloads/arm64-advanced.html %}
-
+

hppa

{% include downloads/hppa.html %}
-
+

loong

{% include downloads/loong.html %}
-
+

ia64

{% include downloads/ia64.html %}
-
+

mips

{% include downloads/mips.html %}
-
+

m68k

{% include downloads/m68k.html %}
-
+

ppc

{% include downloads/ppc.html %}
-
+

riscv

{% include downloads/riscv.html %}
-
+

s390

{% include downloads/s390.html %}
-
+

sparc

{% include downloads/sparc.html %}
-
+

x86

{% include downloads/x86.html %} -- cgit v1.2.3-65-gdbad