{{- $.Scratch.Add "index" slice -}} {{- range where .Site.Pages ".Params.skip" "ne" "true" -}} {{- $.Scratch.Add "index" (dict "uri" .Permalink "title" (cond (eq .Site.Params.titlecase true) (.Title | title | markdownify | htmlUnescape) (.Title | markdownify | htmlUnescape)) "categories" .Params.categories "keywords" .Params.keywords "content" (.Summary | plainify | htmlUnescape )) -}} {{- end -}} {{- $.Scratch.Get "index" | jsonify -}}