mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-27 09:43:06 +00:00
15 lines
701 B
HTML
15 lines
701 B
HTML
<div class="searchbox">
|
|
<label for="search-by"><i class="fa fa-search"></i></label>
|
|
<input data-search-input id="search-by" type="text" placeholder="{{T "Search-placeholder"}}">
|
|
<span data-search-clear=""><i class="fa fa-close"></i></span>
|
|
</div>
|
|
<script type="text/javascript" src="{{"js/lunr.min.js" | relURL}}"></script>
|
|
<script type="text/javascript" src="{{"js/horsey.js" | relURL}}"></script>
|
|
<script type="text/javascript">
|
|
{{ if .Site.IsMultiLingual }}
|
|
var baseurl = "{{.Site.BaseURL}}{{.Site.LanguagePrefix}}";
|
|
{{ else }}
|
|
var baseurl = "{{.Site.BaseURL}}";
|
|
{{ end }}
|
|
</script>
|
|
<script type="text/javascript" src="{{"js/search.js" | relURL}}"></script>
|