diff options
Diffstat (limited to 'layouts/index.json')
-rw-r--r-- | layouts/index.json | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/layouts/index.json b/layouts/index.json index c0152f3..3875102 100644 --- a/layouts/index.json +++ b/layouts/index.json @@ -1,6 +1,8 @@ [{{ range $index, $page := .Site.Pages }} {{- if not (hasPrefix $page.Section "_") -}} +{{- if $page.File -}} {{- if not (hasPrefix $page.File.BaseFileName "__") -}} +{{- if not ( $page.Params.Ignoresearch) -}} {{- if ne $page.Type "json" -}} {{- if and $index (gt $index 0) -}},{{- end }} { @@ -13,4 +15,6 @@ {{- end -}} {{- end -}} {{- end -}} +{{- end -}} +{{- end -}} {{- end -}}]
\ No newline at end of file |