Files
ipng.ch/layouts/_default/index.json
T
pim 318c62c289
continuous-integration/drone/push Build encountered an error
continuous-integration/drone Build is failing
Add client-side search with / shortcut
Lazy-loads /index.json on first keystroke, fuzzy-matches titles and
descriptions, keyboard-navigable results (arrows, Enter, Esc).
Based on https://gist.github.com/cmod/5410eae147e4318164258742dd053993

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
2026-04-30 08:26:37 +02:00

12 lines
328 B
JSON

{{- $index := slice -}}
{{- range .Site.RegularPages -}}
{{- $index = $index | append (dict
"title" .Title
"desc" (.Summary | plainify)
"contents" .Plain
"section" .Section
"date" (.Date.Format "2006-01-02")
"permalink" .Permalink) -}}
{{- end -}}
{{- $index | jsonify -}}