mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-27 09:43:06 +00:00
9 lines
No EOL
715 B
HTML
9 lines
No EOL
715 B
HTML
<div class="searchbox default-animation">
|
|
<label for="search-by"><i class="fas fa-search"></i></label>
|
|
<input data-search-input id="search-by" type="search" placeholder="{{ T "Search-placeholder" }}">
|
|
<span data-search-clear=""><i class="fas fa-times"></i></span>
|
|
</div>
|
|
{{- $assetBusting := not .Site.Params.disableAssetsBusting }}
|
|
<script src="{{"js/lunr.min.js" | relURL}}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}"></script>
|
|
<script src="{{"js/auto-complete.js" | relURL}}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}"></script>
|
|
<script src="{{ "js/search.js" | relURL }}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}"></script> |