gruh
This commit is contained in:
parent
7a4c5c2d22
commit
2b82345290
663 changed files with 38142 additions and 0 deletions
13
themes/bl/layouts/_default/index.json
Normal file
13
themes/bl/layouts/_default/index.json
Normal 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 -}}
|
Loading…
Add table
Add a link
Reference in a new issue