2022-02-03 00:46:21 +00:00
|
|
|
{{- $index := slice -}}
|
2022-01-13 04:56:30 +00:00
|
|
|
{{- range .Site.RegularPages -}}
|
2022-02-07 22:00:35 +00:00
|
|
|
{{- $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
|
|
|
|
) -}}
|
2022-01-13 04:56:30 +00:00
|
|
|
{{- end -}}
|
2022-02-03 00:46:21 +00:00
|
|
|
{{- $index | jsonify -}}
|