diff options
author | Thedro Neely <thedroneely@gmail.com> | 2022-04-08 05:31:53 -0400 |
---|---|---|
committer | Thedro Neely <thedroneely@gmail.com> | 2022-04-08 05:31:53 -0400 |
commit | fdf7460775f68ab8419b1ee17e2adb99d6a48bb9 (patch) | |
tree | 8dc88a3051f38d1d5ff56394b88e3793037eea74 | |
parent | fcbb2d73dba45e69e2b85118e1ed5c459a6ffd4c (diff) | |
download | thedroneely.com-fdf7460775f68ab8419b1ee17e2adb99d6a48bb9.tar.gz thedroneely.com-fdf7460775f68ab8419b1ee17e2adb99d6a48bb9.tar.bz2 thedroneely.com-fdf7460775f68ab8419b1ee17e2adb99d6a48bb9.zip |
generators/hugo/layouts/_default/index.json: Push content down
-rw-r--r-- | generators/hugo/themes/tdro/layouts/_default/index.json | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/generators/hugo/themes/tdro/layouts/_default/index.json b/generators/hugo/themes/tdro/layouts/_default/index.json index af03997..252a693 100644 --- a/generators/hugo/themes/tdro/layouts/_default/index.json +++ b/generators/hugo/themes/tdro/layouts/_default/index.json @@ -10,9 +10,7 @@ { "id": "{{ md5 $data.Permalink }}", "url": "{{ $data.Permalink }}", - "title": "{{ htmlEscape $data.Title}}", - "content_text": {{ $data.Plain | jsonify }}, - "content_html": {{ $data.Content | jsonify }}, + "title": "{{ htmlEscape $data.Title }}", "summary": "{{ $data.Summary }}", "date_modified": "{{ $data.Date | time.Format "2006-01-02T15:04:05Z" }}", "date_published": "{{ $data.PublishDate | time.Format "2006-01-02T15:04:05Z" }}", @@ -32,7 +30,9 @@ {{- $tag | htmlEscape -}} " {{- end -}} - ] + ], + "content_text": {{ $data.Plain | jsonify }}, + "content_html": {{ $data.Content | jsonify }} } {{- end -}} {{ end }} |