Skip to content

Commit 1e5e378

Browse files
author
Tim Bannister
committed
Mark stale release page links as stale
For deprecated site versions, make it clear that the links are to stale pages.
1 parent 483a8ce commit 1e5e378

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

data/i18n/en/en.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -450,6 +450,9 @@ other = "Options"
450450
[outdated_blog__message]
451451
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."
452452

453+
[page_deprecated]
454+
other = "(stale page)"
455+
453456
[patch_release]
454457
other = "Patch Release"
455458

layouts/docs/release-info.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
{{ range where .Site.Pages "Section" "releases" }}
77
{{ if not .IsNode }}
88
<div class="entry">
9-
<h5><a href="{{ .RelPermalink }}">{{ .Title }}</a></h5>
9+
<h5><a href="{{ .RelPermalink }}">{{ .Title }}</a> {{ T "page_deprecated" }}</h5>
1010
</div>
1111
{{ end }}
1212
{{ end }}

0 commit comments

Comments
 (0)