too big too describe

This commit is contained in:
Nuno Coração
2024-03-14 00:01:32 +00:00
parent 48bc05b12f
commit 93ef687194
278 changed files with 551 additions and 255 deletions

View File

@@ -1,5 +1,9 @@
{{- $index := slice -}}
{{- range .Site.Pages -}}
{{ $pages := .Site.Pages }}
{{ range .Site.Home.Translations }}
{{ $pages = $pages | lang.Merge .Site.Pages }}
{{ end }}
{{- range $pages -}}
{{- $section := .Site.GetPage "section" .Section -}}
{{- $index = $index | append (dict
"date" (.Date | time.Format (.Site.Language.Params.dateFormat | default ":date_long"))
@@ -9,6 +13,7 @@
"content" (.Plain | emojify | safeJS)
"permalink" .RelPermalink
"externalUrl" .Params.externalUrl
"type" .Type
) -}}
{{- end -}}
{{- $index | jsonify -}}