Sha256: dc3e2af62f750df34fdb3487d4e6e1655efe232300c9bfaf737fe2d0a2be70ea

Contents?: true

Size: 1.36 KB

Versions: 3

Compression:

Stored size: 1.36 KB

Contents

---
layout: null
---
/*
Copyright (c) 2013-2020 Michael Rose and contributors
MIT License
From minimal-mistakes: https://github.com/mmistakes/minimal-mistakes/
*/
{%- if site.search.provider =="lunr" -%}
{% assign maxwords = site.search.lunr_maxwords | default: "30"  %}
var store = [
  {%- assign indexlunr = site.pages | concat: site.documents |  where_exp:'doc','doc.include_on_search != false' -%}
  {%- for doc in indexlunr -%}
      {
        "title": {{ doc.title | jsonify }},
        "subtitle": {{ doc.subtitle | jsonify }},
        "excerpt":
            {{ doc.content | newline_to_br |
              replace:"<br />", " " |
              replace:"</p>", " " |
              replace:"</h1>", " " |
              replace:"</h2>", " " |
              replace:"</h3>", " " |
              replace:"</h4>", " " |
              replace:"</h5>", " " |
              replace:"</h6>", " "|
            strip_html | strip_newlines | truncatewords: maxwords | jsonify }},
        "categories": {{ doc.categories | jsonify }},
        "date": {{ doc.date | date: "%Y-%m-%d" | jsonify }},
        "tags": {{ doc.tags | jsonify }},
        "url": {{ doc.url | absolute_url | jsonify }},
        "img": {{ doc.og_image | default: doc.header_img | absolute_url | jsonify }}
      }{%- unless forloop.last -%},{%- endunless -%} 
  {%- endfor -%}]
{%- endif -%}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
chulapa-jekyll-1.1.0 assets/js/lunr/lunr-store.js
chulapa-jekyll-1.0.1 assets/js/lunr/lunr-store.js
chulapa-jekyll-1.0.0 assets/js/lunr/lunr-store.js