add: index.json layout
All checks were successful
Deploy / Deploy (push) Successful in 3s

This commit is contained in:
Vezpi 2025-06-02 12:52:40 +00:00
parent 31ab29ccbb
commit 82170a7ee5
3 changed files with 13 additions and 0 deletions

11
layouts/index.json.json Normal file
View 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

@ -0,0 +1 @@
Subproject commit ee1e0f3aa3c3575a756c9b17be5823e21de09c30

1
themes/hugo-coder Submodule

@ -0,0 +1 @@
Subproject commit 6bc00595434affd85e9d55af98779460de6fb1cd