Skip to content

docs: Set up updated list-main for N1C #272

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 31 additions & 11 deletions layouts/partials/list-main.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,18 +32,38 @@ <h3 class="card-title" style="display: flex; align-items: center; gap: 5px;">
<i class="fas fa-{{if eq .Kind "page"}}file-alt{{else}}book{{end}} fa-lg card-img-top"></i>
<a href="{{ if .Params.url}}{{ .Params.url}}{{else}}{{ .Permalink }}{{end}}">{{ .Title }}</a>
</h3>
{{ if and (eq $PageTitle "F5 NGINX One Console") (eq .Title "How-to guides") }}
<ul style="padding-top: 10px;">
{{ range .Pages }}
{{ if eq .Kind "section" }}
{{ range .Pages }}
<li><a href="{{ .Permalink }}"> {{ .Title }}</a></li>
{{ end }}
{{ end }}
{{ end }}
</ul>
{{ if and (eq $PageTitle "F5 NGINX One Console") (eq .Title "Manage your NGINX fleet")}}
<p style="padding-bottom: 10px;">Simplify, scale, secure, and collaborate with your NGINX fleet </p>
{{ end }}
{{ if and (eq $PageTitle "F5 NGINX One Console") (eq .Title "Get started")}}
<p style="padding-bottom: 10px;">See benefits from the NGINX One Console </p>
{{ end }}
{{ if and (eq $PageTitle "F5 NGINX One Console") (eq .Title "Draft new configurations")}}
<p style="padding-bottom: 10px;">Work with Staged Configurations</p>
{{ end }}
<!-- {{ if and (eq $PageTitle "F5 NGINX One Console") (eq .Title "Secure your fleet")}}
<p style="padding-bottom: 10px;">Configure alerts that match your security policies </p>
{{ end }} -->
{{ if and (eq $PageTitle "F5 NGINX One Console") (eq .Title "Manage your NGINX instances")}}
<p style="padding-bottom: 10px;">Monitor and maintain your deployments </p>
{{ end }}
{{ if and (eq $PageTitle "F5 NGINX One Console") (eq .Title "Organize users with RBAC")}}
<p style="padding-bottom: 10px;">Assign responsibilities with role-based access control </p>
{{ end }}
{{ if and (eq $PageTitle "F5 NGINX One Console") (eq .Title "Automate with the NGINX One API")}}
<p style="padding-bottom: 10px;">Manage your NGINX fleet over REST </p>
{{ end }}
{{ if and (eq $PageTitle "F5 NGINX One Console") (eq .Title "Glossary")}}
<p style="padding-bottom: 10px;">Learn terms unique to NGINX One Console </p>
{{ end }}
{{ if and (eq $PageTitle "F5 NGINX One Console") (eq .Title "Connect your instances") }}
<p style="padding-bottom: 10px;">Work with data plane keys, containers, and proxy servers </p>
{{ end }}
{{ if and (eq $PageTitle "F5 NGINX One Console") (eq .Title "Set up metrics") }}
<p style="padding-bottom: 10px;">Review your deployments in a dashboard </p>
{{ end }}
{{ if and (eq $PageTitle "F5 NGINX One Console") (eq .Title "API")}}
<p style="padding-bottom: 10px;">These are API docs</p> <!-- Added text here -->
<ul style="padding-top: 10px;">
{{ range .Pages }}
<li><a href="{{ .Permalink }}"> {{ .Title }}</a></li>
Expand Down Expand Up @@ -97,4 +117,4 @@ <h3 class="card-title" style="display: flex; align-items: center;">
</div>
</section>
{{end}}
</div>
</div>
Loading