website-theme/layouts/_default/list.html

28 lines
861 B
HTML
Raw Normal View History

2018-09-23 07:11:35 -04:00
{{ define "main"}}
2019-03-23 03:18:03 -04:00
{{ partial "header.html" . }}
<!-- search box -->
<div id="searchBox">
<input type="text" id="searchBoxInput" placeholder="Search..." />
<img id="searchBoxIcon" src="/img/search.png" />
</div>
<!-- search results -->
<div id="searchResults"></div>
<!-- contents -->
<div id="contentsList">
{{ range $index, $value := .Pages.GroupByDate .Site.Params.listPageDateFormat }}
{{ 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>
{{ partial "footer.html" . }}
<script src="/js/jquery-3.3.1.min.js"></script>
<script src="/js/jquery.mark.es6.min.js"></script>
2019-03-24 11:41:16 -04:00
<script src="/js/lunr.js"></script>
2019-03-23 03:18:03 -04:00
<script src="/js/search.js"></script>
2018-09-23 07:11:35 -04:00
{{ end }}