git: cdcd5d5fa3 - main - Website: Show that 13.2 is preferred release and 12.4/13.1 are legacy
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 15 Jul 2023 07:32:34 UTC
The branch main has been updated by carlavilla:
URL: https://cgit.FreeBSD.org/doc/commit/?id=cdcd5d5fa377517754b623fae6f1e895991395f1
commit cdcd5d5fa377517754b623fae6f1e895991395f1
Author: Brad Davis <brd@FreeBSD.org>
AuthorDate: 2023-07-15 07:31:06 +0000
Commit: Sergio Carlavilla Delgado <carlavilla@FreeBSD.org>
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>