File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -8,13 +8,13 @@ swcache: true
88 {%- capture description -% }
99 {% include post-description.html % }
1010 {%- endcapture -% }
11- {
12- "title" : {{ post.title | jsonify }},
13- "url" : {{ post.url | relative_url | jsonify }},
14- "categories" : {{ post.categories | join: ', ' | jsonify }},
15- "tags" : {{ post.tags | join: ', ' | jsonify }},
16- "date" : " {{ post.date }} " ,
17- "content" : " {{ description }} "
18- }{% unless forloop.last % },{% endunless % }
11+ {
12+ "title" : {{ post.title | jsonify }},
13+ "url" : {{ post.url | relative_url | jsonify }},
14+ "categories" : {{ post.categories | jsonify }},
15+ "tags" : {{ post.tags | jsonify }},
16+ "date" : {{ post.date | date_to_xmlschema | jsonify }} ,
17+ "content" : {{ description | strip_html | replace: "\\", "\\\\" | jsonify }}
18+ }{% unless forloop.last % },{% endunless % }
1919 {% endfor % }
20- ]
20+ ]
You can’t perform that action at this time.
0 commit comments