Add layout to hide outdated releases
This commit is contained in:
		
							parent
							
								
									0b7f73c862
								
							
						
					
					
						commit
						5c29d1dd6b
					
				| 
						 | 
					@ -2,6 +2,7 @@
 | 
				
			||||||
linktitle: Release History
 | 
					linktitle: Release History
 | 
				
			||||||
title: Releases
 | 
					title: Releases
 | 
				
			||||||
type: docs
 | 
					type: docs
 | 
				
			||||||
 | 
					layout: release-info
 | 
				
			||||||
---
 | 
					---
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -65,7 +65,7 @@ other = "(last updated: %s)"
 | 
				
			||||||
other = "You are viewing documentation for Kubernetes version:"
 | 
					other = "You are viewing documentation for Kubernetes version:"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[deprecation_warning]
 | 
					[deprecation_warning]
 | 
				
			||||||
other = " documentation is no longer actively maintained. The version you are currently viewing is a static snapshot. For up-to-date documentation, see the "
 | 
					other = " documentation is no longer actively maintained. The version you are currently viewing is a static snapshot. For up-to-date information, see the "
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[deprecation_file_warning]
 | 
					[deprecation_file_warning]
 | 
				
			||||||
other = "Deprecated"
 | 
					other = "Deprecated"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -0,0 +1,5 @@
 | 
				
			||||||
 | 
					{{ define "main" }}
 | 
				
			||||||
 | 
					{{ if not .Site.Params.deprecated }}
 | 
				
			||||||
 | 
					  {{ .Content }}
 | 
				
			||||||
 | 
					{{ end }}
 | 
				
			||||||
 | 
					{{ end }}
 | 
				
			||||||
		Loading…
	
		Reference in New Issue