mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2025-01-31 08:57:15 +00:00
Merge pull request #215 from coliff/patch-5
This fixes the close/cancel search icon not showing
This commit is contained in:
commit
85e0b8d284
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
<div class="searchbox">
|
<div class="searchbox">
|
||||||
<label for="search-by"><i class="fas fa-search"></i></label>
|
<label for="search-by"><i class="fas fa-search"></i></label>
|
||||||
<input data-search-input id="search-by" type="search" placeholder="{{T "Search-placeholder"}}">
|
<input data-search-input id="search-by" type="search" placeholder="{{T "Search-placeholder"}}">
|
||||||
<span data-search-clear=""><i class="fas fa-close"></i></span>
|
<span data-search-clear=""><i class="fas fa-times"></i></span>
|
||||||
</div>
|
</div>
|
||||||
{{ $assetBusting := not .Site.Params.disableAssetsBusting }}
|
{{ $assetBusting := not .Site.Params.disableAssetsBusting }}
|
||||||
<script type="text/javascript" src="{{"js/lunr.min.js" | relURL}}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}"></script>
|
<script type="text/javascript" src="{{"js/lunr.min.js" | relURL}}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}"></script>
|
||||||
|
|
Loading…
Add table
Reference in a new issue