2018-09-23 11:11:35 +00:00
|
|
|
{{ define "main"}}
|
|
|
|
<div>
|
2018-10-08 10:37:58 +00:00
|
|
|
<div class="searchBoxContainer">
|
|
|
|
<input type="text" id="searchBox" class="searchBox" placeholder="Search..." />
|
|
|
|
<img id="searchBoxIcon" class="searchBoxIcon" src="/img/search.png" />
|
|
|
|
</div>
|
|
|
|
<div id="searchResults" class="searchResults"></div>
|
2018-09-24 15:27:18 +00:00
|
|
|
{{ range $index, $value := .Pages.GroupByDate .Site.Params.listPageDateFormat }}
|
2018-09-23 11:11:35 +00:00
|
|
|
{{ if (ne $index 0) }}
|
|
|
|
<hr class="separator">
|
|
|
|
{{ end }}
|
|
|
|
<p class="date">{{ .Key }}</p>
|
|
|
|
{{ range .Pages }}
|
|
|
|
<p><a href="{{ .Permalink }}">{{ .Title }}</a></p>
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
2018-10-08 10:37:58 +00:00
|
|
|
<script src="/js/jquery-3.3.1.min.js"></script>
|
|
|
|
<script src="/js/jquery.mark.es6.min.js"></script>
|
|
|
|
<script src="/js/lunr.js"></script>
|
|
|
|
<script src="/js/lunr.stemmer.support.js"></script>
|
|
|
|
<script src="/js/tinyseg.js"></script>
|
|
|
|
<script src="/js/lunr.ja.js"></script>
|
|
|
|
<script src="/js/search.js"></script>
|
2018-09-23 11:11:35 +00:00
|
|
|
{{ end }}
|