Skip to content

Commit 417422e

Browse files
committed
Landing: Updated list page with custom landing params
1 parent e7a086c commit 417422e

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

layouts/_default/list.html

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,19 @@
1111
{{ end }}
1212
{{ end }}
1313
</section>
14-
<h1>{{ .Title }}</h1>
14+
<div class="list-header-container">
15+
<img src="/images/icons/{{ .Params.logo | default "NGINX-product-icon.svg" }}">
16+
<div class="list-header-title">
17+
<h1>{{ .Title }}</h1>
18+
{{ if index .Params "nd-subtitle" }}
19+
<p>{{ index .Params "nd-subtitle" | markdownify }}</p>
20+
{{ end }}
21+
</div>
22+
</div>
1523

1624
{{ partial "banner" . }}
1725

18-
{{ $hasCustomContent := .Params.hasCustomContent | default false }}
26+
{{ $hasCustomContent := index .Params "nd-landing-page" | default false }}
1927
{{ if $hasCustomContent }}
2028
{{ .Content }}
2129
{{ else }}

0 commit comments

Comments
 (0)