2021-12-12 14:09:40 +00:00
---
title: Search
sitemap: false
permalink: /search/
not_editable: true
excluded_in_search: true
---
< input class = "form-control td-search-input" type = "search" name = "q" id = "search-input" placeholder = " Search this site…" style = "margin-top:5px" autofocus >
2021-12-12 14:22:07 +00:00
< br />
2021-12-12 14:09:40 +00:00
< p >< span id = "search-process" > Loading</ span > results < span id = "search-query-container" style = "display: none;" > for "< strong id = "search-query" ></ strong > "</ span ></ p >
< ul id = "search-results" ></ ul >
< 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 >
2022-02-02 04:06:33 -06:00
< script src = "https://cdnjs.cloudflare.com/ajax/libs/lunr.js/0.7.0/lunr.min.js"
integrity = "sha512-eWBLTdGT/I5jd80U2J0TyF2G+Fja6TiTYR6Ymeva7QgGUCy9EA/qhoppa4B/wYn7yWXZ8azgremVGtBi3EFDvg=="
crossorigin = "anonymous" referrerpolicy = "no-referrer" ></ script >
2021-12-12 14:09:40 +00:00
< script src = "{{ site.baseurl }}/assets/js/search.js" ></ script >