removing algolia for now
This commit is contained in:
@ -72,24 +72,24 @@
|
||||
|
||||
|
||||
<li>
|
||||
<!-- start search -->
|
||||
<!--<div id="search-demo-container">-->
|
||||
<!--<input type="text" id="search-input" placeholder="{{site.data.strings.search_placeholder_text}}">-->
|
||||
<!--<ul id="results-container"></ul>-->
|
||||
<!--</div>-->
|
||||
<!--<script src="../js/jekyll-search.js" type="text/javascript"></script>-->
|
||||
<!--<script type="text/javascript">-->
|
||||
<!--SimpleJekyllSearch.init({-->
|
||||
<!--searchInput: document.getElementById('search-input'),-->
|
||||
<!--resultsContainer: document.getElementById('results-container'),-->
|
||||
<!--dataSource: '../search.json',-->
|
||||
<!--searchResultTemplate: '<li><a href="{url}" title="{{page.title | replace: "'", "\"}}">{title}</a></li>',-->
|
||||
<!--noResultsText: '{{site.data.strings.search_no_results_text}}',-->
|
||||
<!--limit: 10,-->
|
||||
<!--fuzzy: true,-->
|
||||
<!--})-->
|
||||
<!--</script>-->
|
||||
<!-- end search -->
|
||||
start search
|
||||
<div id="search-demo-container">
|
||||
<input type="text" id="search-input" placeholder="{{site.data.strings.search_placeholder_text}}">
|
||||
<ul id="results-container"></ul>
|
||||
</div>
|
||||
<script src="../js/jekyll-search.js" type="text/javascript"></script>
|
||||
<script type="text/javascript">
|
||||
SimpleJekyllSearch.init({
|
||||
searchInput: document.getElementById('search-input'),
|
||||
resultsContainer: document.getElementById('results-container'),
|
||||
dataSource: '../search.json',
|
||||
searchResultTemplate: '<li><a href="{url}" title="{{page.title | replace: "'", "\"}}">{title}</a></li>',
|
||||
noResultsText: '{{site.data.strings.search_no_results_text}}',
|
||||
limit: 10,
|
||||
fuzzy: true,
|
||||
})
|
||||
</script>
|
||||
end search
|
||||
</li>
|
||||
{% comment %}
|
||||
{% include frameescape.html %}
|
||||
|
@ -1,6 +1,4 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<html>
|
||||
<head>
|
||||
|
||||
{% include head.html %}
|
||||
@ -41,7 +39,7 @@
|
||||
|
||||
<!-- Content Column -->
|
||||
<div class="col-md-9">
|
||||
{% include search.html %}
|
||||
<!--{% include search.html %}-->
|
||||
{{content}}
|
||||
</div><!-- /.row -->
|
||||
|
||||
|
@ -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."
|
||||
---
|
||||
|
||||
{% 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>
|
||||
<!-- 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>
|
||||
@ -116,7 +111,7 @@ $('#small-box-links').localScroll({
|
||||
|
||||
</style>
|
||||
|
||||
{% endif %}
|
||||
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
|
||||
|
Reference in New Issue
Block a user