setup
This commit is contained in:
7
themes/hugo-theme-monochrome/layouts/_default/index.json
Normal file
7
themes/hugo-theme-monochrome/layouts/_default/index.json
Normal file
@@ -0,0 +1,7 @@
|
||||
{{- $index := slice -}}
|
||||
{{- range .Site.RegularPages -}}
|
||||
{{ if not (.Scratch.Get "params").search_hidden }}
|
||||
{{- $index = $index | append (dict "title" .Title "content" .Plain "permalink" .Permalink) -}}
|
||||
{{ end }}
|
||||
{{- end -}}
|
||||
{{- $index | jsonify -}}
|
||||
Reference in New Issue
Block a user