Sha256: a0818b2291937509438309da28e5a2411bac72752df17ee1cf890be0d00c117e

Contents?: true

Size: 1.07 KB

Versions: 10

Compression:

Stored size: 1.07 KB

Contents

---
---
[
  {% for post in site.posts %}
  {
    "title"    : "{{ post.title | escape }}",
    "category" : "{{ post.category }}",
    "tags"     : "{{ post.tags | join: ', ' | prepend: " " }}",
    "url"      : "{{ post.url | relative_url }}",
    "date"     : "{{ post.date | date: "%B %-d, %Y" }}",
    "excerpt"  : {{ post.content | strip_html | truncate: '250' | escape | jsonify }},
  "content"  : {{ post.content | strip_html | escape | jsonify }}
} {% unless forloop.last %},{% endunless %}
  {% endfor %}
  {% if site.portfolio.size > 0 %},{% endif %}
  {% for page in site.portfolio %}
  {
  {% if page.title != nil %}
  "title"    : "{{ page.title | escape }}",
  "category" : "{{ page.category }}",
  "tags"     : "{{ page.tags | join: ', ' | prepend: " " }}",
  "url"      : "{{ page.url | relative_url }}",
  "date"     : "{{ page.date | date: "%B %-d, %Y" }}",
  "excerpt"  : {{ page.content | strip_html | truncate: '250' | jsonify }},
  "content"  : {{ page.content | strip_html | escape | jsonify }}
  {% endif %}
} {% unless forloop.last %},{% endunless %}
  {% endfor %}
]

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
type-on-strap-2.2.4 assets/data/search.json
type-on-strap-2.2.1 assets/data/search.json
type-on-strap-2.1.2 assets/data/search.json
type-on-strap-2.1.0 assets/data/search.json
type-on-strap-2.0.3 assets/data/search.json
type-on-strap-2.0.2 assets/data/search.json
type-on-strap-1.5.0 assets/data/search.json
jekyll-theme-type-on-strap-8.0.0 assets/data/search.json
jekyll-theme-type-on-strap-7.0.1 assets/data/search.json
type-on-strap-1.4.1 assets/data/search.json