Remove subtitles from the index.json since I do not use those
This commit is contained in:
parent
2a4a3b2be9
commit
ee235ae70b
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
{{- $.Scratch.Add "index" slice -}}
|
{{- $.Scratch.Add "index" slice -}}
|
||||||
{{- range .Site.RegularPages -}}
|
{{- range .Site.RegularPages -}}
|
||||||
{{- $.Scratch.Add "index" (dict "title" .Title "subtitle" .Params.subtitle "description" .Params.description "tags" .Params.tags "content" .Plain "permalink" .Permalink) -}}
|
{{- $.Scratch.Add "index" (dict "title" .Title "description" .Params.description "tags" .Params.tags "content" .Plain "permalink" .Permalink) -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- $.Scratch.Get "index" | jsonify -}}
|
{{- $.Scratch.Get "index" | jsonify -}}
|
||||||
|
|
Loading…
Add table
Reference in a new issue