Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add layout to hide outdated releases
- Loading branch information
1 parent
60638ee
commit 11ad351
Showing
3 changed files
with
18 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,8 @@ | |
linktitle: Release History | ||
title: Releases | ||
type: docs | ||
layout: release-info | ||
notoc: true | ||
--- | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{{ define "main" }} | ||
{{ if not .Site.Params.deprecated }} | ||
{{ .Content }} | ||
{{ else }} | ||
<div class="section-index"> | ||
{{ range where .Site.Pages "Section" "releases" }} | ||
{{ if not .IsNode }} | ||
<div class="entry"> | ||
<h5><a href="{{ .RelPermalink }}">{{ .Title }}</a></h5> | ||
</div> | ||
{{ end }} | ||
{{ end }} | ||
</div> | ||
{{ end }} | ||
{{ end }} |