{{- $index := slice -}}
{{- range .Site.RegularPages -}}
  {{- $section := .Site.GetPage "section" .Section -}}
  {{- $index = $index | append (dict
    "date" (.Date | time.Format (.Site.Language.Params.dateFormat | default ":date_long")) 
    "title" (.Title | emojify | safeJS)
    "section" ($section.Title | emojify | safeJS)
    "summary" (.Summary | emojify | safeJS)
    "content" (.Plain | emojify | safeJS)
    "permalink" .RelPermalink
  ) -}}
{{- end -}}
{{- $index | jsonify -}}