This commit is contained in:
11
layouts/index.json.json
Normal file
11
layouts/index.json.json
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
{{- $.Scratch.Add "index" slice -}}
|
||||||
|
{{- range .Site.RegularPages -}}
|
||||||
|
{{- $.Scratch.Add "index" (dict
|
||||||
|
"title" .Title
|
||||||
|
"permalink" .Permalink
|
||||||
|
"summary" .Summary
|
||||||
|
"tags" .Params.tags
|
||||||
|
"date" (.Date.Format "2006-01-02")
|
||||||
|
) -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- $.Scratch.Get "index" | jsonify -}}
|
1
themes/PaperMod
Submodule
1
themes/PaperMod
Submodule
Submodule themes/PaperMod added at ee1e0f3aa3
1
themes/hugo-coder
Submodule
1
themes/hugo-coder
Submodule
Submodule themes/hugo-coder added at 6bc0059543
Reference in New Issue
Block a user