Skip to content

Commit

Permalink
Merge pull request #160 from clairbarrass/main
Browse files Browse the repository at this point in the history
Add site search
  • Loading branch information
clairbarrass authored Jan 24, 2024
2 parents 9530718 + 45def3c commit c23cac1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions _includes/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@
<div class="hidden-xs col-sm-2 col-md-1">

<!-- <div class="hidden-xs col-sm-offset-10 col-md-offset-11 col-sm-2 col-md-1"> -->
<!-- <p class="search">
<p class="search">
<a href="#modalSearch" data-toggle="modal" data-target="#modalSearch">
Search
<img width="20" src="{{ site.url }}{{ site.baseurl }}/img/archer2_search_icon.png" alt="Search"/>
<img width="20" src="{{ site.url }}{{ site.baseurl }}/img/cirrus_search_icon.png" alt="Search"/>
</a>
</p>
-->

</div>


Expand All @@ -47,8 +47,9 @@ <h4 class="modal-title">Search Cirrus website</h4>
</div>
<div class="modal-body">
<div class="modal-body">
<script async src="https://cse.google.com/cse.js?cx=012644084156088560195:8abgyu0meb9"></script>
<gcse:search></gcse:search>
<script async src="https://cse.google.com/cse.js?cx=3591fa1845513412d"></script>

<div class="gcse-search"></div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
Expand Down
Binary file added img/cirrus_search_icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c23cac1

Please sign in to comment.