Skip to content

Commit 77a393e

Browse files
FloorDjsilvela
andauthored
docs: change support page to a list layout (#284)
Signed-off-by: Floor Drees <[email protected]> Co-authored-by: Jaime Silvela <[email protected]>
1 parent b37f220 commit 77a393e

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

content/support/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
Title: Commercial Support
3-
type: paged_content
3+
type: support
44
---
55

66
**CloudNativePG** is an independent open-source project and does not endorse

layouts/support/list.html

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{{ define "main" }}
2+
3+
<div class="mx-auto md:w-1/2 px-4 well">
4+
<h2 class="text-xl mt-6">{{.Title}}</h2>
5+
<p>{{.Content}}</p>
6+
<ul>
7+
{{ range sort .Pages "Title" }}
8+
<li><a href="{{ .Params.homepage }}">{{ .Title }}</a></li>
9+
{{ end }}
10+
</ul>
11+
<hr>
12+
</div>
13+
{{ end }}

0 commit comments

Comments
 (0)