website-theme/layouts/feed/list.html

24 lines
796 B
HTML
Raw Permalink 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 -->
2023-01-03 21:00:27 -05:00
<div id="feedList" class="block-center">
2022-05-08 18:02:35 -04:00
{{ $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>
2022-05-08 18:02:35 -04:00
{{ .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
{{ end }}