fix: search_enabled -> bib_search (#2560)
In #2523, I did a copy&paste error with
07d6e619cc
I used the global `search_enabled` config key instead of the correct
`bib_search` key.
This PR fixed it.
This commit is contained in:
parent
c4f20b889e
commit
83e8a64de1
|
|
@ -0,0 +1,4 @@
|
|||
{% if site.bib_search %}
|
||||
<script src="{{ '/assets/js/bibsearch.js' | relative_url | bust_file_cache }}" type="module"></script>
|
||||
<input type="text" id="bibsearch" spellcheck="false" autocomplete="off" class="search bibsearch-form-input" placeholder="Type to filter">
|
||||
{% endif %}
|
||||
|
|
@ -37,11 +37,6 @@
|
|||
<script defer src="{{ '/assets/js/common.js' | relative_url | bust_file_cache }}"></script>
|
||||
<script defer src="{{ '/assets/js/copy_code.js' | relative_url | bust_file_cache }}" type="text/javascript"></script>
|
||||
|
||||
<!-- Bibsearch Feature -->
|
||||
{% if site.search_enabled %}
|
||||
<script src="{{ '/assets/js/bibsearch.js' | relative_url | bust_file_cache }}" type="module"></script>
|
||||
{% endif %}
|
||||
|
||||
<!-- Jupyter Open External Links New Tab -->
|
||||
<script defer src="{{ '/assets/js/jupyter_new_tab.js' | relative_url | bust_file_cache }}"></script>
|
||||
|
||||
|
|
|
|||
|
|
@ -9,9 +9,9 @@ nav_order: 2
|
|||
|
||||
<!-- _pages/publications.md -->
|
||||
|
||||
{% if site.search_enabled %}
|
||||
<input type="text" id="bibsearch" spellcheck="false" autocomplete="off" class="search bibsearch-form-input" placeholder="Type to filter">
|
||||
{% endif %}
|
||||
<!-- Bibsearch Feature -->
|
||||
|
||||
{% include bib_search.liquid %}
|
||||
|
||||
<div class="publications">
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue