-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added latest wmt release which includes updates to search and syntax …
…highlighting
- Loading branch information
Showing
9 changed files
with
490 additions
and
145 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,24 @@ | ||
<div id="search-container"> | ||
<div id="search-input-bar"> | ||
<input type="text" id="search-input" placeholder="Search..." /> | ||
<!--<i class="fa fa-search icon-search"></i>--> | ||
<li class="dropdown" id="search"> | ||
<a id="dropdownSearch" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> | ||
<i class="fa fa-search"></i> | ||
</a> | ||
<div class="dropdown-menu" aria-labelledby="dropdownSearch"> | ||
<div id="search-container"> | ||
<div id="search-input-bar"> | ||
<input type="text" id="search-input" name="search" placeholder="Search..." /> | ||
<!--<i class="fa fa-search icon-search"></i>--> | ||
</div> | ||
<div id="results-container"></div> | ||
</div> | ||
</div> | ||
<div id="results-container"></div> | ||
</div> | ||
</li> | ||
|
||
<script type="text/javascript" src="{{site.context}}/assets/wmt/js/simple-jekyll-search.js"></script> | ||
<script> | ||
SimpleJekyllSearch({ | ||
searchInput: document.getElementById('search-input'), | ||
resultsContainer: document.getElementById('results-container'), | ||
json: '{{site.url}}/search.json', | ||
json: '{{site.context}}/search.json', | ||
limit: 30 | ||
}) | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.