Use Hugo's plaintext instead of file path for Stork index.
This commit is contained in:
parent
44529e872f
commit
1f1345477f
|
@ -2,7 +2,7 @@
|
||||||
base_directory = "content/"
|
base_directory = "content/"
|
||||||
title_boost = "Large"
|
title_boost = "Large"
|
||||||
files = [
|
files = [
|
||||||
{{ range $index , $e := .Site.RegularPages }}{{ if $index }}, {{end}}{ path = {{ $e.File.Path | jsonify }}, title = {{ $e.Title | jsonify }}, url = {{ $e.Permalink | jsonify }} }
|
{{ range $index , $e := .Site.RegularPages }}{{ if $index }}, {{end}}{ filetype = "PlainText", contents = {{ $e.Plain | jsonify }}, title = {{ $e.Title | jsonify }}, url = {{ $e.Permalink | jsonify }} }
|
||||||
{{ end }}
|
{{ end }}
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user