Skip to content

Commit 6dee98a

Browse files
authored
Merge pull request #22896 from dvdksn/llms.txt-exclude-hidden
chore: exclude hidden pages from llms.txt
1 parent 9fc920b commit 6dee98a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

layouts/_default/index.llms.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{- $pages := .Site.RegularPages -}}
1+
{{- $pages := where site.RegularPages "Params.sitemap" "!=" false -}}
22
{{- $sorted := sort $pages "RelPermalink" -}}
33
{{- $grouped := $sorted.GroupBy "Section" -}}
44

0 commit comments

Comments
 (0)