demo/search.json in writers-zone-0.1.5 vs demo/search.json in writers-zone-0.2.0

- old
+ new

@@ -5,11 +5,11 @@ {% for post in site.posts %} { "title" : "{{ post.title | escape }}", "category" : "{{ post.category }}", "tags" : "{{ post.tags | join: ', ' }}", - "url" : "{{ site.baseurl }}{{ post.url }}", + "url" : "{{ post.url | relative_url }}", "date" : "{{ post.date }}", "content" : {{ post.content | jsonify }} } {% unless forloop.last %},{% endunless %} {% endfor %} , @@ -17,10 +17,10 @@ { {% if page.title != nil %} "title" : "{{ page.title | escape }}", "category" : "{{ page.category }}", "tags" : "{{ page.tags | join: ', ' }}", - "url" : "{{ site.baseurl }}{{ page.url }}", + "url" : "{{ page.url | relative_url }}", "date" : "{{ page.date }}", "content" : {{ page.content | jsonify }} {% endif %} } {% unless forloop.last %},{% endunless %} {% endfor %}