Skip to content

Commit ee37df9

Browse files
committed
docs: set up updated list-main for N1C
1 parent 99559e9 commit ee37df9

File tree

1 file changed

+32
-13
lines changed

1 file changed

+32
-13
lines changed

layouts/partials/list-main.html

Lines changed: 32 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
{{/* TODO: Delete this page, and use the one from nginx-hugo-them */}}
12
<div class="list-page">
23
{{ $PageTitle := .Title }}
34
<div class="col-md-12 col-xl-12 py-md-3" style="margin-left: -1.75em;">
@@ -15,8 +16,6 @@ <h1 class="bd-title">
1516
{{ .Content | markdownify }}
1617
</p>
1718
{{ end }}
18-
19-
{{ partial "banner" .}}
2019
</div>
2120
</div>
2221

@@ -32,18 +31,38 @@ <h3 class="card-title" style="display: flex; align-items: center; gap: 5px;">
3231
<i class="fas fa-{{if eq .Kind "page"}}file-alt{{else}}book{{end}} fa-lg card-img-top"></i>
3332
<a href="{{ if .Params.url}}{{ .Params.url}}{{else}}{{ .Permalink }}{{end}}">{{ .Title }}</a>
3433
</h3>
35-
{{ if and (eq $PageTitle "F5 NGINX One Console") (eq .Title "How-to guides") }}
36-
<ul style="padding-top: 10px;">
37-
{{ range .Pages }}
38-
{{ if eq .Kind "section" }}
39-
{{ range .Pages }}
40-
<li><a href="{{ .Permalink }}"> {{ .Title }}</a></li>
41-
{{ end }}
42-
{{ end }}
43-
{{ end }}
44-
</ul>
34+
{{ if and (eq $PageTitle "F5 NGINX One Console") (eq .Title "Manage your NGINX fleet")}}
35+
<p style="padding-bottom: 10px;">Simplify, scale, secure, and collaborate with your NGINX fleet </p>
36+
{{ end }}
37+
{{ if and (eq $PageTitle "F5 NGINX One Console") (eq .Title "Get started")}}
38+
<p style="padding-bottom: 10px;">See benefits from the NGINX One Console </p>
39+
{{ end }}
40+
{{ if and (eq $PageTitle "F5 NGINX One Console") (eq .Title "Draft new configurations")}}
41+
<p style="padding-bottom: 10px;">Work with Staged Configurations</p>
42+
{{ end }}
43+
<!-- {{ if and (eq $PageTitle "F5 NGINX One Console") (eq .Title "Secure your fleet")}}
44+
<p style="padding-bottom: 10px;">Configure alerts that match your security policies </p>
45+
{{ end }} -->
46+
{{ if and (eq $PageTitle "F5 NGINX One Console") (eq .Title "Manage your NGINX instances")}}
47+
<p style="padding-bottom: 10px;">Monitor and maintain your deployments </p>
48+
{{ end }}
49+
{{ if and (eq $PageTitle "F5 NGINX One Console") (eq .Title "Organize users with RBAC")}}
50+
<p style="padding-bottom: 10px;">Assign responsibilities with role-based access control </p>
51+
{{ end }}
52+
{{ if and (eq $PageTitle "F5 NGINX One Console") (eq .Title "Automate with the NGINX One API")}}
53+
<p style="padding-bottom: 10px;">Manage your NGINX fleet over REST </p>
54+
{{ end }}
55+
{{ if and (eq $PageTitle "F5 NGINX One Console") (eq .Title "Glossary")}}
56+
<p style="padding-bottom: 10px;">Learn terms unique to NGINX One Console </p>
57+
{{ end }}
58+
{{ if and (eq $PageTitle "F5 NGINX One Console") (eq .Title "Connect your instances") }}
59+
<p style="padding-bottom: 10px;">Work with data plane keys, containers, and proxy servers </p>
60+
{{ end }}
61+
{{ if and (eq $PageTitle "F5 NGINX One Console") (eq .Title "Set up metrics") }}
62+
<p style="padding-bottom: 10px;">Review your deployments in a dashboard </p>
4563
{{ end }}
4664
{{ if and (eq $PageTitle "F5 NGINX One Console") (eq .Title "API")}}
65+
<p style="padding-bottom: 10px;">These are API docs</p> <!-- Added text here -->
4766
<ul style="padding-top: 10px;">
4867
{{ range .Pages }}
4968
<li><a href="{{ .Permalink }}"> {{ .Title }}</a></li>
@@ -97,4 +116,4 @@ <h3 class="card-title" style="display: flex; align-items: center;">
97116
</div>
98117
</section>
99118
{{end}}
100-
</div>
119+
</div>

0 commit comments

Comments
 (0)