Mark stale release page links as stale

For deprecated site versions, make it clear that the links are to stale
pages.
This commit is contained in:
Tim Bannister 2024-10-19 12:42:37 +01:00
parent 483a8ce311
commit 1e5e378012
2 changed files with 4 additions and 1 deletions

View File

@ -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"

View File

@ -6,7 +6,7 @@
{{ range where .Site.Pages "Section" "releases" }}
{{ if not .IsNode }}
<div class="entry">
<h5><a href="{{ .RelPermalink }}">{{ .Title }}</a></h5>
<h5><a href="{{ .RelPermalink }}">{{ .Title }}</a> {{ T "page_deprecated" }}</h5>
</div>
{{ end }}
{{ end }}