Sha256: d8ecd14ec89b390aa01f8bb4fcd315177fae0192d920cb7cf0a4e814b558663c

Contents?: true

Size: 848 Bytes

Versions: 2

Compression:

Stored size: 848 Bytes

Contents

---
layout: null
---
[
  {% for post in site.posts %}
    {
      "title"    : "{{ post.title | escape }}",
      "category" : "{{ post.category }}",
      "tags"     : "{{ post.tags | join: ', ' }}",
      "url"      : "{{ post.url | relative_url }}",
      "date"     : "{{ post.date }}",
      "content"   : {{ post.content | jsonify }}
    } {% unless forloop.last %},{% endunless %}
  {% endfor %}
  ,
  {% for page in site.pages %}
   {
     {% if page.title != nil %}
        "title"    : "{{ page.title | escape }}",
        "category" : "{{ page.category }}",
        "tags"     : "{{ page.tags | join: ', ' }}",
        "url"      : "{{ page.url | relative_url }}",
        "date"     : "{{ page.date }}",
        "content"   : {{ page.content | jsonify }}
     {% endif %}
   } {% unless forloop.last %},{% endunless %}
  {% endfor %}
]

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
writers-zone-0.2.1 demo/search.json
writers-zone-0.2.0 demo/search.json