Skip to content

Commit

Permalink
Update Simple-Jekyll-Search
Browse files Browse the repository at this point in the history
  • Loading branch information
sylhare committed Oct 26, 2020
1 parent 738830b commit eac2987
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
4 changes: 3 additions & 1 deletion _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
{% endif %}

<!-- KaTeX 0.12.0 -->
<!-- if you have any issue check https://github.com/KaTeX/KaTeX -->
{% if site.katex or site.theme_settings.katex %}
<script defer src="{{ '/assets/js/vendor/katex.min.js' | relative_url }}"></script>
<script defer src="{{ '/assets/js/vendor/auto-render.min.js' | relative_url }}" onload="renderMathInElement(document.body);"></script>
Expand All @@ -38,6 +37,9 @@
<script defer src="{{ '/assets/js/vendor/mermaid.min.js' | relative_url }}" onload="mermaid.initialize({startOnLoad:true});"></script>
{% endif %}

<!-- Simple-Jekyll-Search 1.17.12 -->
<script src="{{ '/assets/js/vendor/simple-jekyll-search.min.js' | relative_url }}" type="text/javascript"></script>

<!-- Google Analytics / Cookie Consent -->
<script>
const cookieName = 'cookie-notice-dismissed-{{ site.url }}';
Expand Down
3 changes: 0 additions & 3 deletions _layouts/search.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@
<ul id="results-container"></ul>

<section>
<!-- Script pointing to jekyll-search.js -->
<script src="{{ '/assets/js/vendor/simple-jekyll-search.min.js' | relative_url }}" type="text/javascript"></script>

<script type="text/javascript">
SimpleJekyllSearch({
searchInput: document.getElementById('search-input'),
Expand Down
4 changes: 2 additions & 2 deletions assets/js/vendor/simple-jekyll-search.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit eac2987

Please sign in to comment.