title | layout | permalink | excerpt | dependencies | scripts | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Search |
page |
/search/ |
Find what you are looking for at Musser Scout Reservation. We are bound to have it. |
|
|
Search
{% assign searchable_pages = site.pages | where_exp: "page", "page.layout == 'page' or page.layout == 'portal'" %}
<script> window.store = { {% for page in searchable_pages %} "{{ page.url | slugify }}": { "title": "{{ page.title | xml_escape }}", "author": "", "date": "{{ page.date | date: "%B %d, %Y" }}", "category": "{{ page.category | xml_escape }}", "content": {{ page.content | strip_html | strip_newlines | jsonify }}, "url": "{{ page.url | xml_escape }}" }, {%- endfor -%} {% for post in site.posts %} "{{ post.url | slugify }}": { "title": "{{ post.title | xml_escape }}", "author": "{{ post.author | xml_escape }}", "date": "{{ post.date | date: "%B %d, %Y" }}", "category": "{{ post.category | xml_escape }}", "content": {{ post.content | strip_html | strip_newlines | jsonify }}, "url": "{{ post.url | xml_escape }}" } {% unless forloop.last %},{% endunless %} {%- endfor -%} }; </script>