fixed images display on smaller screens
[theme-danix.xyz.git] / layouts / home.searchindex.json
CommitLineData
a8d04f9e 1{{- $.Scratch.Add "searchindex" slice -}}
2{{- range $index, $element := where site.RegularPages "Params.exclude_search" nil -}}
3 {{- $.Scratch.Add "searchindex" (dict "id" $index "title" $element.Title "permalink" $element.RelPermalink "tags" (delimit ($element.Params.tags | default "") " ") "content" $element.Plain "summary" $element.Summary "date" ($element.Date.Format ($.Param "dateformat" | default "2 January, 2006"))) -}}
4{{- end -}}
5{{- $.Scratch.Get "searchindex" | jsonify -}}