website-theme/layouts/feed/list.html

25 lines
776 B
HTML
Raw Normal View History

2022-05-02 00:05:34 -04:00
{{ define "main"}}
{{ partial "header.html" . }}
<main>
2022-05-08 18:02:35 -04:00
{{ 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" . }}
2022-05-02 00:05:34 -04:00
<a style="display: none" class="u-url" href="{{ .Permalink }}"></a>
2022-05-08 18:02:35 -04:00
<div class="e-content">
{{ .Content }}
</div>
</article>
{{ end }}
{{ end }}
</div>
</main>
2022-05-02 00:05:34 -04:00
{{ partial "footer.html" . }}
{{ end }}