diff options
Diffstat (limited to 'themes/simple/layouts/section/section.json')
| -rw-r--r-- | themes/simple/layouts/section/section.json | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/themes/simple/layouts/section/section.json b/themes/simple/layouts/section/section.json new file mode 100644 index 0000000..b8f3786 --- /dev/null +++ b/themes/simple/layouts/section/section.json | |||
| @@ -0,0 +1,5 @@ | |||
| 1 | {{- $.Scratch.Add "index" slice -}} | ||
| 2 | {{- range .Site.RegularPages -}} | ||
| 3 | {{- $.Scratch.Add "index" (dict "title" .Title "tags" .Params.tags "type" .Type "permalink" .RelPermalink "summary" .Summary) -}} | ||
| 4 | {{- end -}} | ||
| 5 | {{- $.Scratch.Get "index" | jsonify -}} | ||
