website-theme/layouts/_default/list.html

23 lines
868 B
HTML
Raw Normal View History

2018-09-23 07:11:35 -04:00
{{ define "main"}}
<div>
2018-10-08 06:37:58 -04: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 11:27:18 -04:00
{{ range $index, $value := .Pages.GroupByDate .Site.Params.listPageDateFormat }}
2018-09-23 07:11:35 -04: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 06:37:58 -04:00
<script src="/js/jquery-3.3.1.min.js"></script>
<script src="/js/jquery.mark.es6.min.js"></script>
<script src="/js/fuse.min.js"></script>
2018-10-08 06:37:58 -04:00
<script src="/js/search.js"></script>
2018-09-23 07:11:35 -04:00
{{ end }}