removing algolia for now

This commit is contained in:
Tom Johnson
2016-01-21 17:43:26 -08:00
parent fcae37b779
commit f7d1028fe7
3 changed files with 22 additions and 29 deletions

View File

@ -72,24 +72,24 @@
<li> <li>
<!-- start search --> start search
<!--<div id="search-demo-container">--> <div id="search-demo-container">
<!--<input type="text" id="search-input" placeholder="{{site.data.strings.search_placeholder_text}}">--> <input type="text" id="search-input" placeholder="{{site.data.strings.search_placeholder_text}}">
<!--<ul id="results-container"></ul>--> <ul id="results-container"></ul>
<!--</div>--> </div>
<!--<script src="../js/jekyll-search.js" type="text/javascript"></script>--> <script src="../js/jekyll-search.js" type="text/javascript"></script>
<!--<script type="text/javascript">--> <script type="text/javascript">
<!--SimpleJekyllSearch.init({--> SimpleJekyllSearch.init({
<!--searchInput: document.getElementById('search-input'),--> searchInput: document.getElementById('search-input'),
<!--resultsContainer: document.getElementById('results-container'),--> resultsContainer: document.getElementById('results-container'),
<!--dataSource: '../search.json',--> dataSource: '../search.json',
<!--searchResultTemplate: '<li><a href="{url}" title="{{page.title | replace: "'", "\"}}">{title}</a></li>',--> searchResultTemplate: '<li><a href="{url}" title="{{page.title | replace: "'", "\"}}">{title}</a></li>',
<!--noResultsText: '{{site.data.strings.search_no_results_text}}',--> noResultsText: '{{site.data.strings.search_no_results_text}}',
<!--limit: 10,--> limit: 10,
<!--fuzzy: true,--> fuzzy: true,
<!--})--> })
<!--</script>--> </script>
<!-- end search --> end search
</li> </li>
{% comment %} {% comment %}
{% include frameescape.html %} {% include frameescape.html %}

View File

@ -1,6 +1,4 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en">
<html>
<head> <head>
{% include head.html %} {% include head.html %}
@ -41,7 +39,7 @@
<!-- Content Column --> <!-- Content Column -->
<div class="col-md-9"> <div class="col-md-9">
{% include search.html %} <!--{% include search.html %}-->
{{content}} {{content}}
</div><!-- /.row --> </div><!-- /.row -->

View File

@ -7,11 +7,6 @@ last_updated: November 30, 2015
summary: "This page demonstrates how you the integration of a script called ScrollTo, which is used here to link definitions of a JSON code sample to a list of definitions for that particular term. The scenario here is that the JSON blocks are really long, with extensive nesting and subnesting, which makes it difficult for tables below the JSON to adequately explain the term in a usable way." summary: "This page demonstrates how you the integration of a script called ScrollTo, which is used here to link definitions of a JSON code sample to a list of definitions for that particular term. The scenario here is that the JSON blocks are really long, with extensive nesting and subnesting, which makes it difficult for tables below the JSON to adequately explain the term in a usable way."
--- ---
{% if site.output == "pdf" %}
{{site.data.alerts.note}} The content on this page doesn't display well on PDF, but I included it anyway so you could see the problems this layout poses if you're including it in PDF. {{site.data.alerts.end}}
{% endif %}
{% if site.output == "web" %}
<script src="../../js/jquery.scrollTo.min.js"></script> <script src="../../js/jquery.scrollTo.min.js"></script>
<!-- local scroll must come after scrollTo, because localScroll is based on scrollTo, which is based on jQuery --> <!-- local scroll must come after scrollTo, because localScroll is based on scrollTo, which is based on jQuery -->
<script src="../../js/jquery.localScroll.min.js"></script> <script src="../../js/jquery.localScroll.min.js"></script>
@ -116,7 +111,7 @@ $('#small-box-links').localScroll({
</style> </style>
{% endif %}
<div class="container"> <div class="container">
<div class="row"> <div class="row">