Sha256: 65b20749a272c407770fe1c9ac18bc045ccdbf906578b3d30dabd4f1bead6274

Contents?: true

Size: 1.19 KB

Versions: 5

Compression:

Stored size: 1.19 KB

Contents

---
---
[
  {% if site.theme_settings.special_page.search.enabled %}
   {% 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 | truncate: '250' | jsonify }},
        "content"  : {{ post.content | 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 | truncate: '250' | jsonify }},
          "content"  : {{ page.content | truncate: '250' | jsonify }}
       {% endif %}
     } {% unless forloop.last %},{% endunless %}
   {% endfor %}
  {% endif %}
]

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
type-on-strap-1.3.0 assets/data/search.json
type-on-strap-1.1.1 assets/data/search.json
jekyll-theme-type-on-strap-6.0.0 assets/data/search.json
jekyll-theme-type-on-strap-5.0.1 assets/data/search.json
type-on-strap-1.0.1 assets/data/search.json