aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortdro <tdro@users.noreply.github.com>2022-04-05 02:54:01 -0400
committertdro <tdro@users.noreply.github.com>2022-04-05 02:54:01 -0400
commitf62ea6cceab97af2bdc4fab8f215e4ed90be84ca (patch)
treeb255a551860c23c26d7f91d76f0b182dc049c636
parent676bc472cb138419877f610a975fa6d835fe0b3e (diff)
downloadhugo-theme-opulene-f62ea6cceab97af2bdc4fab8f215e4ed90be84ca.tar.gz
hugo-theme-opulene-f62ea6cceab97af2bdc4fab8f215e4ed90be84ca.tar.bz2
hugo-theme-opulene-f62ea6cceab97af2bdc4fab8f215e4ed90be84ca.zip
themes/opulene/layouts/_default/index.json: Add content last
-rw-r--r--themes/opulene/layouts/_default/index.json6
1 files changed, 3 insertions, 3 deletions
diff --git a/themes/opulene/layouts/_default/index.json b/themes/opulene/layouts/_default/index.json
index af03997..a0d8f80 100644
--- a/themes/opulene/layouts/_default/index.json
+++ b/themes/opulene/layouts/_default/index.json
@@ -11,8 +11,6 @@
"id": "{{ md5 $data.Permalink }}",
"url": "{{ $data.Permalink }}",
"title": "{{ htmlEscape $data.Title}}",
- "content_text": {{ $data.Plain | jsonify }},
- "content_html": {{ $data.Content | jsonify }},
"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 }}