Sha256: 2c8cc06552f260dd815d3993af841221aa9585a4f357c146e740fb4df3feead2
Contents?: true
Size: 1.01 KB
Versions: 7
Compression:
Stored size: 1.01 KB
Contents
--- permalink: /assets/js/SearchData.json --- { {%- assign i = 0 -%} {%- for post in site.posts -%} "{{ i }}": { "doc": {{ post.title | strip_html | escape | jsonify }}, "title": {{ post.title | strip_html | escape | jsonify }}, "content": {{ post.content | replace: '</h', ' . </h' | replace: '<hr', ' . <hr' | replace: '</p', ' . </p' | replace: '<ul', ' . <ul' | replace: '</ul', ' . </ul' | replace: '<ol', ' . <ol' | replace: '</ol', ' . </ol' | replace: '</tr', ' . </tr' | replace: '<li', ' | <li' | replace: '</li', ' | </li' | replace: '</td', ' | </td' | replace: '<td', ' | <td' | replace: '</th', ' | </th' | replace: '<th', ' | <th' | strip_html | remove: 'Table of contents' | normalize_whitespace | replace: '. . .', '.' | replace: '. .', '.' | replace: '| |', '|' | append: ' ' | strip_html | strip_newline | strip | escape | jsonify }}, "url": "{{ site.baseurl }}{{ post.url }}" }{%- unless forloop.last -%},{%- endunless -%}{%- assign i = i | plus: 1 -%} {% endfor %} }
Version data entries
7 entries across 7 versions & 1 rubygems