log101-dot-dev/layouts/_default/list.html
2023-12-07 09:28:51 +00:00

30 lines
589 B
HTML

{{ define "header" }}
{{ partial "header.html" . }}
{{ end }}
{{ define "main" }}
<main class="site-main">
{{- if .Content }}
<div class="content">
{{ .Content }}
</div>
{{- end }}
{{ range (.Paginate .Pages.ByPublishDate ).Pages }}
<div class="posts-group">
<div class="posts-list">
<p class="post-item">
<a href="{{.Permalink}}">
<span class="post-title">{{.Title}}</span>
</a>
</p>
</div>
</div>
{{ end }}
{{ template "_internal/pagination.html" . }}
</main>
{{ end }}
{{ define "footer" }}
{{ partial "footer.html" . }}
{{ end }}