File tree Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change 3232 < img src ="/images/icons/{{ .Params.logo | default "NGINX-product-icon.svg " }}">
3333 < div class ="list-header-title ">
3434 < h1 > {{ .Title }}</ h1 >
35- {{ if .Description }}
36- < p > {{ .Description | markdownify }}</ p >
35+ {{ if index .Params "nd-subtitle" }}
36+ < p > {{ index .Params "nd-subtitle" | markdownify }}</ p >
3737 {{ end }}
3838 </ div >
3939 </ div >
4040
4141 {{ partial "banner" . }}
42-
43- {{ $hasCustomContent := .Params.hasCustomContent | default false }}
42+ {{ $hasCustomContent := index .Params "nd-landing-page" | default false }}
4443 {{ if $hasCustomContent }}
4544 {{ .Content }}
4645 {{ else }}
Original file line number Diff line number Diff line change @@ -11,10 +11,8 @@ <h1 class="bd-title">
1111 </ p >
1212 {{ end}}
1313 {{ partial "banner" .}}
14- {{ $hasCustomContent := .Params.hasCustomContent | default false }}
14+ {{ $hasCustomContent := index .Params "nd-landing-page" | default false }}
1515 {{ if $hasCustomContent }}
16- {{ .Page.Scratch.Set "custom-landing-page-file-name" "custom-landing-page.html" }}
17- {{ .Page.Scratch.Set "custom-landing-page-context" . }}
1816 {{ .Content }}
1917 {{ else }}
2018 < section data-mf ="false ">
You can’t perform that action at this time.
0 commit comments