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:
		
							parent
							
								
									483a8ce311
								
							
						
					
					
						commit
						1e5e378012
					
				| 
						 | 
					@ -450,6 +450,9 @@ other = "Options"
 | 
				
			||||||
[outdated_blog__message]
 | 
					[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."
 | 
					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]
 | 
					[patch_release]
 | 
				
			||||||
other = "Patch Release"
 | 
					other = "Patch Release"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -6,7 +6,7 @@
 | 
				
			||||||
  {{ range where .Site.Pages "Section" "releases" }}
 | 
					  {{ range where .Site.Pages "Section" "releases" }}
 | 
				
			||||||
    {{ if not .IsNode }}
 | 
					    {{ if not .IsNode }}
 | 
				
			||||||
      <div class="entry">
 | 
					      <div class="entry">
 | 
				
			||||||
        <h5><a href="{{ .RelPermalink }}">{{ .Title }}</a></h5>
 | 
					        <h5><a href="{{ .RelPermalink }}">{{ .Title }}</a> {{ T "page_deprecated" }}</h5>
 | 
				
			||||||
      </div>
 | 
					      </div>
 | 
				
			||||||
    {{ end }}
 | 
					    {{ end }}
 | 
				
			||||||
  {{ end }}
 | 
					  {{ end }}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue