Refine layout to add menu of links under releases

This commit is contained in:
Dipesh Rawat 2023-09-02 01:31:00 +01:00
parent b2888c928b
commit da673bf10a
No known key found for this signature in database
2 changed files with 11 additions and 0 deletions

View File

@ -3,6 +3,7 @@ linktitle: Release History
title: Releases
type: docs
layout: release-info
notoc: true
---

View File

@ -1,5 +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 }}