mirror of
https://github.com/Brandon-Rozek/website-theme.git
synced 2024-12-23 18:34:38 +00:00
24 lines
776 B
HTML
24 lines
776 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">
|
|
<h2 class='title p-name'>{{ .Title }}</h2>
|
|
{{ .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 }}
|