2016-07-06 10:15:55 +02:00
|
|
|
<div class="searchbox">
|
|
|
|
<label for="search-by"><i class="fa fa-search"></i></label>
|
2017-07-27 21:42:07 +02:00
|
|
|
<input data-search-input id="search-by" type="text" placeholder="{{T "Search-placeholder"}}">
|
2016-07-06 10:15:55 +02:00
|
|
|
<span data-search-clear=""><i class="fa fa-close"></i></span>
|
|
|
|
</div>
|
2017-08-16 23:14:58 +02:00
|
|
|
{{ $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/horsey.js" | relURL}}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}"></script>
|
2016-10-25 00:45:15 +02:00
|
|
|
<script type="text/javascript">
|
2017-08-08 22:29:52 +02:00
|
|
|
{{ if .Site.IsMultiLingual }}
|
|
|
|
var baseurl = "{{.Site.BaseURL}}{{.Site.LanguagePrefix}}";
|
|
|
|
{{ else }}
|
|
|
|
var baseurl = "{{.Site.BaseURL}}";
|
|
|
|
{{ end }}
|
2016-10-25 00:45:15 +02:00
|
|
|
</script>
|
2017-08-16 23:14:58 +02:00
|
|
|
<script type="text/javascript" src="{{"js/search.js" | relURL}}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}"></script>
|