github.com/square/finch@v0.0.0-20240412205204-6530c03e2b96/docs/themes/hugo-geekdoc/assets/search/data.json (about) 1 [ 2 {{ range $index, $page := (where .Site.Pages "Params.GeekdocProtected" "ne" true) }} 3 {{ if ne $index 0 }},{{ end }} 4 { 5 "id": {{ $index }}, 6 "href": "{{ $page.RelPermalink }}", 7 "title": {{ (partial "utils/title" $page) | jsonify }}, 8 "parent": {{ with $page.Parent }}{{ (partial "utils/title" .) | jsonify }}{{ else }}""{{ end }}, 9 "content": {{ $page.Plain | jsonify }}, 10 "description": {{ $page.Summary | plainify | jsonify }} 11 } 12 {{ end }} 13 ]