2023-12-06 04:21:30 +00:00
|
|
|
{{ define "header" }}
|
2023-12-07 09:28:51 +00:00
|
|
|
{{ partial "header.html" . }}
|
2023-12-06 04:21:30 +00:00
|
|
|
{{ end }}
|
|
|
|
|
2023-12-04 03:43:34 +00:00
|
|
|
{{ define "main" }}
|
2023-12-08 11:39:54 +00:00
|
|
|
<main class="list-main">
|
2023-12-06 04:21:30 +00:00
|
|
|
{{- if .Content }}
|
|
|
|
<div class="content">
|
|
|
|
{{ .Content }}
|
|
|
|
</div>
|
|
|
|
{{- end }}
|
2023-12-07 09:28:51 +00:00
|
|
|
{{ range (.Paginate .Pages.ByPublishDate ).Pages }}
|
2023-12-06 04:21:30 +00:00
|
|
|
<div class="posts-group">
|
2023-12-07 02:12:32 +00:00
|
|
|
<div class="posts-list">
|
|
|
|
<p class="post-item">
|
2023-12-06 04:21:30 +00:00
|
|
|
<a href="{{.Permalink}}">
|
|
|
|
<span class="post-title">{{.Title}}</span>
|
|
|
|
</a>
|
2023-12-07 02:12:32 +00:00
|
|
|
</p>
|
|
|
|
</div>
|
2023-12-04 03:43:34 +00:00
|
|
|
</div>
|
2023-12-07 09:28:51 +00:00
|
|
|
{{ end }}
|
2023-12-04 03:43:34 +00:00
|
|
|
</main>
|
|
|
|
{{ end }}
|
2023-12-06 04:21:30 +00:00
|
|
|
|
|
|
|
{{ define "footer" }}
|
2023-12-07 09:45:21 +00:00
|
|
|
{{ partial "pagination.html" . }}
|
2023-12-07 02:12:32 +00:00
|
|
|
{{ partial "footer.html" . }}
|
2023-12-06 04:21:30 +00:00
|
|
|
{{ end }}
|