From 3747bc3bca664a88de32c153357767de1f178cb9 Mon Sep 17 00:00:00 2001 From: sharadcodes Date: Tue, 26 Nov 2019 00:41:43 +0530 Subject: [PATCH] upd plg --- api.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api.json b/api.json index 8f52e20..216ba55 100644 --- a/api.json +++ b/api.json @@ -31,6 +31,7 @@ layout: null "pages": [ {% for page in site.pages %} { + "id": {{page.title | downcase | jsonify}}, "title": {{ page.title | jsonify }}, "content_text": {{ page.content | strip_html | strip_newlines | jsonify }}, "content_html": {{ page.content | strip_newlines | jsonify }}, @@ -39,6 +40,5 @@ layout: null "date_modified": "{{ page.date | date_to_xmlschema }}" }{% if forloop.last == false %},{% endif %} {% endfor %} - ] - + ] } \ No newline at end of file