mirror of
https://github.com/Brandon-Rozek/website-theme.git
synced 2024-11-22 00:06:30 -05:00
22 lines
868 B
HTML
22 lines
868 B
HTML
{{ define "main"}}
|
|
<div>
|
|
<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>
|
|
{{ 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>
|
|
<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>
|
|
<script src="/js/search.js"></script>
|
|
{{ end }}
|