mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-11 17:12:51 +00:00
Convert docs to docsy
This commit is contained in:
5
site/themes/docsy/assets/json/offline-search-index.json
Normal file
5
site/themes/docsy/assets/json/offline-search-index.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{{- $.Scratch.Add "offline-search-index" slice -}}
|
||||
{{- range where .Site.AllPages ".Params.exclude_search" "!=" true -}}
|
||||
{{- $.Scratch.Add "offline-search-index" (dict "title" .Title "ref" .RelPermalink "body" .Plain "excerpt" (.Summary | truncate 100)) -}}
|
||||
{{- end -}}
|
||||
{{- $.Scratch.Get "offline-search-index" | jsonify -}}
|
||||
Reference in New Issue
Block a user