|
|
@ -6,7 +6,7 @@
|
|
|
|
<div class="section-header">
|
|
|
|
<div class="section-header">
|
|
|
|
<div class="row">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-lg-12 text-center">
|
|
|
|
<div class="col-lg-12 text-center">
|
|
|
|
<h2 class="section-title text-center">{{ .Title }}</h2>
|
|
|
|
<h1 class="section-title text-center">{{ .Title }}</h1>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="row">
|
|
|
@ -31,14 +31,14 @@
|
|
|
|
<form action="{{ .RelPermalink }}" onkeyup="executeInlineSearch()">
|
|
|
|
<form action="{{ .RelPermalink }}" onkeyup="executeInlineSearch()">
|
|
|
|
<input id="search-query" placeholder="Search..." name="s" autocomplete="off" search autofocus/>
|
|
|
|
<input id="search-query" placeholder="Search..." name="s" autocomplete="off" search autofocus/>
|
|
|
|
</form>
|
|
|
|
</form>
|
|
|
|
<div id="search-results"><h3 class="search-results-title mb-4">Matching pages</h3></div>
|
|
|
|
<div id="search-results"><h3 class="search-results-title mb-4">Matching items</h3></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<script id="search-result-template" type="text/x-js-template">
|
|
|
|
<script id="search-result-template" type="text/x-js-template">
|
|
|
|
<div class="search-results-summary" id="summary-${key}">
|
|
|
|
<div class="search-results-summary">
|
|
|
|
<h4><a class="search-item mb-4" href="${link}">${title}</a></h4>
|
|
|
|
<div class="search-results" id="summary-${key}">
|
|
|
|
<p>${snippet} ... <a class="search-item-more" href="${link}">[more]</a></p>
|
|
|
|
<h4><a class="search-item" href="${link}">${title}</a></h4>
|
|
|
|
${ isset tags }<p>${tags}</p>${ end }
|
|
|
|
${ isset tags }<p>${tags}</p>${ end }
|
|
|
|
${ isset categories }<p>Categories: ${categories}</p>${ end }
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</script>
|
|
|
|
</script>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|