Copying layouts from old theme to new

This commit is contained in:
2020-05-31 05:21:00 +01:00
parent 3503ec15d8
commit 9dbf2d80d7
28 changed files with 882 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
{{- $.Scratch.Add "index" slice -}}
{{- range .Site.RegularPages -}}
{{- $.Scratch.Add "index" (dict "title" .Title "subtitle" .Params.subtitle "description" .Params.description "tags" .Params.tags "images" .Params.images "content" .Plain "permalink" .Permalink) -}}
{{- end -}}
{{- $.Scratch.Get "index" | jsonify -}}