provide index.json for producing JSON lines for indexing
This commit is contained in:
parent
856c6bb7ab
commit
ae0a5776ca
1 changed files with 4 additions and 0 deletions
4
layouts/_default/index.json
Normal file
4
layouts/_default/index.json
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
{{- range .Site.RegularPages -}}
|
||||||
|
{{- $s := (dict "title" .Title "contents" .Plain "link" .Permalink) -}}
|
||||||
|
{{- jsonify (dict "noHTMLEscape" true) $s }}
|
||||||
|
{{ end -}}
|
Loading…
Add table
Reference in a new issue