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