log101-dot-dev/layouts/_default/list.html
2023-12-07 08:44:01 +00:00

31 lines
580 B
HTML

{{ define "header" }}
{{ partialCached "header.html" . }}
{{ end }}
{{ define "main" }}
<main class="site-main">
{{- if .Content }}
<div class="content">
{{ .Content }}
</div>
{{- end }}
{{- range .Data.Pages.GroupByDate "2006" }}
<div class="posts-group">
<div class="posts-list">
{{- range .Pages }}
<p class="post-item">
<a href="{{.Permalink}}">
<span class="post-title">{{.Title}}</span>
</a>
</p>
{{- end }}
</div>
</div>
{{- end }}
</main>
{{ end }}
{{ define "footer" }}
{{ partial "footer.html" . }}
{{ end }}