simplify page with https://github.com/adityatelange/hugo-PaperMod.git
This commit is contained in:
parent
7979c40554
commit
c2189ef133
540 changed files with 6036 additions and 29285 deletions
7
themes/hugo-PaperMod/layouts/_default/index.json
Normal file
7
themes/hugo-PaperMod/layouts/_default/index.json
Normal file
|
@ -0,0 +1,7 @@
|
|||
{{- $.Scratch.Add "index" slice -}}
|
||||
{{- range site.RegularPages -}}
|
||||
{{- if and (not .Params.searchHidden) (ne .Layout `archives`) (ne .Layout `search`) }}
|
||||
{{- $.Scratch.Add "index" (dict "title" .Title "content" .Plain "permalink" .Permalink "summary" .Summary) -}}
|
||||
{{- end }}
|
||||
{{- end -}}
|
||||
{{- $.Scratch.Get "index" | jsonify -}}
|
Loading…
Add table
Add a link
Reference in a new issue