Skip to content
Merged
Show file tree
Hide file tree
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
10 changes: 8 additions & 2 deletions layouts/_default/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@
</nav>
</div>



<section class="content-layout" data-mf="true" style="display: none">
<section class="breadcrumb-layout">
{{ if not .IsHome }}
Expand All @@ -32,6 +30,14 @@
<h1>{{ .Title }}</h1>
{{ .Content }}

{{ if (lt .WordCount 1) }}
{{ range .Pages.ByWeight }}
<h2>
<a href="{{ if .Params.url}}{{ .Params.url}}{{else}}{{ .Permalink }}{{end}}">{{ .Title }}</a>
</h2>
{{ end }}
{{end}}

<hr>
{{ if .Page.Lastmod }}
<div class="last-modified">
Expand Down
3 changes: 2 additions & 1 deletion layouts/partials/list-main.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ <h1 class="bd-title">
{{ end }}
</div>
</div>

{{ if lt .WordCount 1 }}
<section class="col-md-12 col-xl-12 py-md-3 pl-md-5" id="section-content-list">

<div class="row">
Expand All @@ -29,6 +29,7 @@ <h3 class="card-title">
</div>
</div>
</section>
{{ end }}
</div>


Expand Down
1 change: 1 addition & 0 deletions layouts/partials/sidebar-v2.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
(dict "title" "NGINX Ingress Controller" "url" "/nginx-ingress-controller" "type" "nginx-one")
(dict "title" "NGINX Gateway Fabric" "url" "/nginx-gateway-fabric" "type" "nginx-one")
(dict "title" "NGINX Open Source" "url" "https://nginx.org/en/docs/" "type" "nginx-one")
(dict "title" "Subscription Licensing & Solutions" "url" "/solutions/" "type" "nginx-one")
(dict "title" "NGINX Agent" "url" "/nginx-agent" "type" "nginx-one")
(dict "title" "NGINX App Protect WAF" "url" "/nginx-app-protect-waf" "type" "nginx-app-protect")
(dict "title" "NGINX App Protect DoS" "url" "/nginx-app-protect-dos" "type" "nginx-app-protect")
Expand Down
Loading