mirror of
https://github.com/docker/docs.git
synced 2026-03-27 14:28:47 +07:00
Merge pull request #22896 from dvdksn/llms.txt-exclude-hidden
chore: exclude hidden pages from llms.txt
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{{- $pages := .Site.RegularPages -}}
|
||||
{{- $pages := where site.RegularPages "Params.sitemap" "!=" false -}}
|
||||
{{- $sorted := sort $pages "RelPermalink" -}}
|
||||
{{- $grouped := $sorted.GroupBy "Section" -}}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user