git: cdcd5d5fa3 - main - Website: Show that 13.2 is preferred release and 12.4/13.1 are legacy

Sergio Carlavilla Delgado <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
The branch main has been updated by carlavilla:

URL: https://cgit.FreeBSD.org/doc/commit/?id=cdcd5d5fa377517754b623fae6f1e895991395f1

commit cdcd5d5fa377517754b623fae6f1e895991395f1
Author:     Brad Davis <[email protected]>
AuthorDate: 2023-07-15 07:31:06 +0000
Commit:     Sergio Carlavilla Delgado <[email protected]>
CommitDate: 2023-07-15 07:31:06 +0000

    Website: Show that 13.2 is preferred release and 12.4/13.1 are legacy
    
    Approved by:            cperciva(releng), carlavilla(docs)
    Differential Revision:  https://reviews.freebsd.org/D40164
---
 website/themes/beastie/i18n/en.toml       | 3 +++
 website/themes/beastie/layouts/index.html | 7 +++++--
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/website/themes/beastie/i18n/en.toml b/website/themes/beastie/i18n/en.toml
index 09a5312095..563375f550 100644
--- a/website/themes/beastie/i18n/en.toml
+++ b/website/themes/beastie/i18n/en.toml
@@ -188,6 +188,9 @@ other = "and most pervasive embedded networking and storage devices."
 [learnMore]
 other = "Learn More"
 
+[legacy]
+other = "Legacy"
+
 [getThe]
 other = "Get the"
 
diff --git a/website/themes/beastie/layouts/index.html b/website/themes/beastie/layouts/index.html
index 353b638bc2..24ccd17bdf 100755
--- a/website/themes/beastie/layouts/index.html
+++ b/website/themes/beastie/layouts/index.html
@@ -48,10 +48,13 @@
             <ul id="frontreleaseslist">
               <li>
                 {{ i18n "production" }}:
-                <a href={{ index $.Site.Data.releases "u-rel124-announce" }}>{{ index $.Site.Data.releases "rel124-current" }}</a>,
-                <a href={{ index $.Site.Data.releases "u-rel131-announce" }}>{{ index $.Site.Data.releases "rel131-current" }}</a>,
                 <a href={{ index $.Site.Data.releases "u-rel132-announce" }}>{{ index $.Site.Data.releases "rel132-current" }}</a>
               </li>
+              <li>
+                {{ i18n "legacy" }}:
+                <a href={{ index $.Site.Data.releases "u-rel131-announce" }}>{{ index $.Site.Data.releases "rel131-current" }}</a>,
+                <a href={{ index $.Site.Data.releases "u-rel124-announce" }}>{{ index $.Site.Data.releases "rel124-current" }}</a>
+              </li>
               {{ $betaUpcoming := index $.Site.Data.releases "beta-upcoming" }}
               {{ if ne $betaUpcoming "IGNORE" }}
                 <li>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.