Skip to content

Commit e4c2976

Browse files
committed
layouts: Migrate from _build to build in reading build options
1 parent 3dc9b81 commit e4c2976

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

layouts/partials/GetDescendantPages.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*/}}
55

66
{{- $pages := slice }}
7-
{{- if eq (.Params._build.list | default "always") "always" }}
7+
{{- if eq (.Params.build.list | default "always") "always" }}
88
{{- $pages = $pages | append . }}
99
{{- end }}
1010

layouts/partials/nav-list-hier.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
generated list is glitchy as a result.
4242
*/}}
4343

44-
{{- if eq (.this.Params._build.list | default "always") "always" }}
44+
{{- if eq (.this.Params.build.list | default "always") "always" }}
4545
<li><a href="{{ .this.RelPermalink }}"
4646
{{- if eq .this .currentPage }} class="active"{{- end -}}>
4747
{{- markdownify .this.Title -}}

0 commit comments

Comments
 (0)