mirror of
https://github.com/Brandon-Rozek/website-theme.git
synced 2024-11-22 00:06:30 -05:00
24 lines
807 B
HTML
24 lines
807 B
HTML
{{ define "main"}}
|
|
{{ partial "header.html" . }}
|
|
<main>
|
|
{{ partial "search.html" . }}
|
|
<!-- contents -->
|
|
<div id="feedList">
|
|
{{ $listPageDateFormat := .Site.Params.listPageDateFormat | default "January, 2006"}}
|
|
{{ range $index, $value := .Pages.GroupByDate $listPageDateFormat }}
|
|
{{ range .Pages }}
|
|
<article class="h-entry">
|
|
<a href="{{ .Permalink }}"><h2 class='title p-name'>{{ .Title }}</h2></a>
|
|
{{ .Scratch.Set "noDateUpdate" true }}
|
|
{{ partial "date.html" . }}
|
|
<a style="display: none" class="u-url" href="{{ .Permalink }}"></a>
|
|
<div class="e-content">
|
|
{{ .Content }}
|
|
</div>
|
|
</article>
|
|
{{ end }}
|
|
{{ end }}
|
|
</div>
|
|
</main>
|
|
{{ partial "footer.html" . }}
|
|
{{ end }}
|