git: 41207377e1 - main - Remove 12.4 from sidenav and homepage
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 02 Jan 2024 20:10:17 UTC
The branch main has been updated by lwhsu: URL: https://cgit.FreeBSD.org/doc/commit/?id=41207377e146679495a4562db784402828afac92 commit 41207377e146679495a4562db784402828afac92 Author: Li-Wen Hsu <lwhsu@FreeBSD.org> AuthorDate: 2024-01-02 20:10:13 +0000 Commit: Li-Wen Hsu <lwhsu@FreeBSD.org> CommitDate: 2024-01-02 20:10:13 +0000 Remove 12.4 from sidenav and homepage Sponsored by: The FreeBSD Foundation --- website/themes/beastie/layouts/index.html | 2 ++ website/themes/beastie/layouts/partials/sidenav.html | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/website/themes/beastie/layouts/index.html b/website/themes/beastie/layouts/index.html index 43068e793d..9ebf1787ae 100755 --- a/website/themes/beastie/layouts/index.html +++ b/website/themes/beastie/layouts/index.html @@ -51,10 +51,12 @@ <a href={{ index $.Site.Data.releases "u-rel132-announce" }}>{{ index $.Site.Data.releases "rel132-current" }}</a>, <a href={{ index $.Site.Data.releases "u-rel140-announce" }}>{{ index $.Site.Data.releases "rel140-current" }}</a> </li> + <!-- <li> {{ i18n "legacy" }}: <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> diff --git a/website/themes/beastie/layouts/partials/sidenav.html b/website/themes/beastie/layouts/partials/sidenav.html index f633da73b6..5be9a28c2b 100644 --- a/website/themes/beastie/layouts/partials/sidenav.html +++ b/website/themes/beastie/layouts/partials/sidenav.html @@ -56,7 +56,6 @@ <li> <a href={{ "releases" | absLangURL }}>{{ i18n "releases" }}</a> <ul> - <li>{{ i18n "productionRelease" }}: <br /><a href={{ index .data.releases "u-rel124-announce" }}>{{ index .data.releases "rel124-current" }}</a></li> <li>{{ i18n "productionRelease" }}: <br /><a href={{ index .data.releases "u-rel132-announce" }}>{{ index .data.releases "rel132-current" }}</a></li> <li>{{ i18n "productionRelease" }}: <br /><a href={{ index .data.releases "u-rel140-announce" }}>{{ index .data.releases "rel140-current" }}</a></li> </ul>