From 1e5e3780126ab885d431a832943c76d3bd6cfcca Mon Sep 17 00:00:00 2001 From: Tim Bannister Date: Sat, 19 Oct 2024 12:42:37 +0100 Subject: [PATCH] Mark stale release page links as stale For deprecated site versions, make it clear that the links are to stale pages. --- data/i18n/en/en.toml | 3 +++ layouts/docs/release-info.html | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/data/i18n/en/en.toml b/data/i18n/en/en.toml index b4be07e893..1dbb113910 100644 --- a/data/i18n/en/en.toml +++ b/data/i18n/en/en.toml @@ -450,6 +450,9 @@ other = "Options" [outdated_blog__message] other = "This article is more than one year old. Older articles may contain outdated content. Check that the information in the page has not become incorrect since its publication." +[page_deprecated] +other = "(stale page)" + [patch_release] other = "Patch Release" diff --git a/layouts/docs/release-info.html b/layouts/docs/release-info.html index 60f4f6537d..8e7f97dc08 100644 --- a/layouts/docs/release-info.html +++ b/layouts/docs/release-info.html @@ -6,7 +6,7 @@ {{ range where .Site.Pages "Section" "releases" }} {{ if not .IsNode }}
-
{{ .Title }}
+
{{ .Title }} {{ T "page_deprecated" }}
{{ end }} {{ end }}