Use Hugo's plaintext instead of file path for Stork index.

This commit is contained in:
Danila Fedorin 2020-12-28 22:32:17 -08:00
parent 44529e872f
commit 1f1345477f
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
base_directory = "content/"
title_boost = "Large"
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 }}
]