github.com/choria-io/go-choria@v0.28.1-0.20240416190746-b3bf9c7d5a45/docs/themes/hugo-theme-relearn/layouts/_default/index.json (about) 1 {{- partialCached "page-meta.hugo" . .RelPermalink }} 2 {{- $pages := slice }} 3 {{- range .Site.Pages }} 4 {{- if and .Title .RelPermalink (or (ne (.Scratch.Get "relearnIsHiddenStem") true) (ne .Site.Params.disableSearchHiddenPages true) ) }} 5 {{- $pages = $pages | append (dict 6 "uri" (partial "relLangPrettyUglyURL.hugo" (dict "to" .)) 7 "title" (partial "pageHelper/title.hugo" (dict "page" .)) 8 "tags" .Params.tags 9 "breadcrumb" (trim ((partial "breadcrumbs.html" (dict "page" . "dirOnly" true)) | plainify | htmlUnescape) "\n\r\t ") 10 "description" .Description 11 "content" (.Plain | htmlUnescape) 12 ) }} 13 {{- end }} 14 {{- end -}} 15 {{- $pages | jsonify (dict "indent" " ") }}