initial commit

This commit is contained in:
Nuno Coração committed 2022-09-10 20:05:37 +01:00
1 parent 561a2a87c0
commit 8fbdecb6e7
391 files changed
+22034

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
{{- $index := slice -}}
{{- range .Site.Pages -}}
{{- $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 -}}