Skip to content

Commit

Permalink
Replace tipuesearch with CSE
Browse files Browse the repository at this point in the history
  • Loading branch information
frankstrater committed Oct 25, 2021
1 parent 680fb57 commit a341a97
Show file tree
Hide file tree
Showing 9 changed files with 4 additions and 1,439 deletions.
3 changes: 0 additions & 3 deletions _includes/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,6 @@
<script src="{{ '/assets/js/jquery.min.js' | relative_url }}"></script>
<script src="{{ '/assets/js/popper.min.js' | relative_url }}"></script>
<script src="{{ '/assets/js/bootstrap.min.js' | relative_url }}"></script>
<script src="{{ '/assets/search/tipuesearch/tipuesearch_content.js' | relative_url }}"></script>
<script src="{{ '/assets/search/tipuesearch/tipuesearch_set.js' | relative_url }}"></script>
<script src="{{ '/assets/search/tipuesearch/tipuesearch.min.js' | relative_url }}"></script>
<script src="{{ '/assets/js/common.js' | relative_url }}"></script>

</body>
Expand Down
2 changes: 1 addition & 1 deletion _includes/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<link rel="apple-touch-icon" sizes="256x256" href="{{ '/assets/img/icons/icon-256x256.png' | relative_url }}">
<link rel="apple-touch-icon" sizes="384x384" href="{{ '/assets/img/icons/icon-384x384.png' | relative_url }}">
<link rel="apple-touch-icon" sizes="512x512" href="{{ '/assets/img/icons/icon-512x512.png' | relative_url }}">
<link rel="stylesheet" href="{{ '/assets/search/tipuesearch/tipuesearch.css' | relative_url }}">
<script async src="https://cse.google.com/cse.js?cx=011774963394194117834:u9h9mjx3v0s"></script>
</head>
<body{% if page.id %} id="{{ page.id }}"{% endif %} class="d-flex flex-column h-100">

Expand Down
4 changes: 2 additions & 2 deletions _includes/nav_documentation.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
<li class="nav-item"><a class="nav-link" href="{{ '/documentation/release-notes' | relative_url }}">Release notes</a></li>
</ul>
<form class="form-inline" action="{{ '/documentation/search' | relative_url }}">
<input id="tipue_search_input" name="q" pattern=".{3,}" class="form-control mr-sm-2 ml-sm-2" type="search" placeholder="" aria-label="Search">
<button id="tipue_search_button" class="btn btn-primary my-2 my-sm-0" type="submit">Search</button>
<input id="search_input" name="q" pattern=".{3,}" class="form-control mr-sm-2 ml-sm-2" type="search" placeholder="" aria-label="Search">
<button id="search_button" class="btn btn-primary my-2 my-sm-0" type="submit">Search</button>
</form>
</div>
</nav>
2 changes: 1 addition & 1 deletion _layouts/help_search.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
</div>
</div>
<div class="col-md-8">
<div id="tipue_search_content"></div>
<div class="gcse-searchresults-only"></div>
</div>
</div>
</div>
Expand Down
263 changes: 0 additions & 263 deletions assets/search/tipuesearch/tipuesearch.css

This file was deleted.

Loading

0 comments on commit a341a97

Please sign in to comment.