Skip to content

Commit d4d7e5a

Browse files
committed
fix: omit redirects pages
1 parent 8f39c6b commit d4d7e5a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

layouts/_default/index.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
{{- $len := (len $pages) -}}
55

66
{{- range $index, $e := (where .Site.AllPages "Section" "in" (slice "learn" "about" "events" "stories" "patterns" "isc-101")) -}}
7-
{{- if and (not .Params.hidden) (not .Draft) -}}
7+
{{- if and (not .Params.hidden) (not .Draft) (ne .Type "redirects" ) -}}
88
{{- if $index -}},{{- end }}
99
{
1010
"id": {{ $index | add 1 }},

0 commit comments

Comments
 (0)