Sha256: a3f3ebcadf325d2106f5a22d9bd8bba044f61e1d95091176010fa03451f824c0

Contents?: true

Size: 866 Bytes

Versions: 5

Compression:

Stored size: 866 Bytes

Contents

---
layout: null
sitemap: false
---

var store = [
  {%- for c in site.collections -%}
    {%- if forloop.last -%}
      {%- assign l = true -%}
    {%- endif -%}
    {%- assign docs = c.docs | where_exp: 'doc', 'doc.search != false' -%}
    {%- for doc in docs -%}
      {
        "title": {{ doc.title | jsonify }},
        "excerpt":
        {%- if site.search_full_content == true -%}
          {{ doc.content | strip_html | strip_newlines | jsonify }},
        {%- else -%}
          {{ doc.content | strip_html | strip_newlines | truncatewords: 50 | jsonify }},
        {%- endif -%}
        "categories": {{ doc.categories | jsonify }},
        "tags": {{ doc.tags | jsonify }},
        "url": {{ doc.url | absolute_url | jsonify }}
      } {%- unless forloop.last and l -%}, {%- endunless -%}
    {%- endfor -%}
  {%- endfor -%}
]

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
jekyll-theme-so-simple-3.1.0 assets/js/search-data.json
jekyll-theme-basically-basic-1.3.1 assets/javascripts/search-data.json
jekyll-theme-basically-basic-1.3.0 assets/javascripts/search-data.json
jekyll-theme-so-simple-3.0.1 assets/js/search-data.json
jekyll-theme-so-simple-3.0.0 assets/js/search-data.json