1
0
mirror of https://github.com/thangisme/notes.git synced 2024-12-21 21:16:25 -05:00

Make search on by default

This commit is contained in:
Patrick Marsceill 2019-08-14 16:43:59 -04:00
parent dfc5d112e5
commit d01f0e29db
No known key found for this signature in database
GPG Key ID: 286B93882D828F40
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@
{% endif %}
{% if site.search_enabled != nil %}
{% if site.search_enabled != false %}
<script type="text/javascript" src="{{ '/assets/js/vendor/lunr.min.js' | absolute_url }}"></script>
{% endif %}
<script type="text/javascript" src="{{ '/assets/js/just-the-docs.js' | absolute_url }}"></script>

View File

@ -25,7 +25,7 @@ layout: table_wrappers
<div class="main-content-wrap js-main-content" tabindex="0">
<div class="main-content">
<div class="page-header js-page-header">
{% if site.search_enabled != nil %}
{% if site.search_enabled != false %}
<div class="search">
<div class="search-input-wrap">
<input type="text" class="js-search-input search-input" tabindex="0" placeholder="Search {{ site.title }}" aria-label="Search {{ site.title }}" autocomplete="off">