Skip to content

Latest commit

 

History

History
61 lines (57 loc) · 2.16 KB

search.md

File metadata and controls

61 lines (57 loc) · 2.16 KB
title sitemap permalink not_editable excluded_in_search
Search
false
/search/
true
true

Loading results for ""

    <script> window.data = { {% for post in site.docs %} {% unless post.excluded_in_search %} {% if added %},{% endif %} {% assign added = false %} "{{ post.url | slugify }}": { "id": "{{ post.url | slugify }}", "title": "{{ post.title | xml_escape }}", "categories": "{{ post.categories | join: ", " | xml_escape }}", "url": " {{ post.url | xml_escape }}", "content": {{ post.content | strip_html | replace_regex: "[\s/\n]+"," " | strip | jsonify }} } {% assign added = true %} {% endunless %} {% endfor %} {% for post in site.posts %} {% unless post.excluded_in_search %} {% if added %},{% endif %} {% assign added = false %} "{{ post.url | slugify }}": { "id": "{{ post.url | slugify }}", "title": "{{ post.title | xml_escape }}", "categories": "{{ post.categories | join: ", " | xml_escape }}", "url": " {{ post.url | xml_escape }}", "content": {{ post.content | strip_html | replace_regex: "[\s/\n]+"," " | strip | jsonify }} } {% assign added = true %} {% endunless %} {% endfor %} {% for post in site.pages %} {% unless post.excluded_in_search %} {% if added %},{% endif %} {% assign added = false %} "{{ post.url | slugify }}": { "id": "{{ post.url | slugify }}", "title": "{{ post.title | xml_escape }}", "categories": "{{ post.categories | join: ", " | xml_escape }}", "url": " {{ post.url | xml_escape }}", "content": {{ post.content | strip_html | replace_regex: "[\s/\n]+"," " | strip | jsonify }} } {% assign added = true %} {% endunless %} {% endfor %} }; </script>