log101-dot-dev/layouts/_default/list.html

31 lines
580 B
HTML
Raw Normal View History

2023-12-06 04:21:30 +00:00
{{ define "header" }}
{{ partialCached "header.html" . }}
{{ end }}
2023-12-04 03:43:34 +00:00
{{ define "main" }}
<main class="site-main">
2023-12-06 04:21:30 +00:00
{{- if .Content }}
<div class="content">
{{ .Content }}
</div>
{{- end }}
{{- range .Data.Pages.GroupByDate "2006" }}
<div class="posts-group">
<div class="posts-list">
2023-12-06 04:21:30 +00:00
{{- range .Pages }}
<p class="post-item">
2023-12-06 04:21:30 +00:00
<a href="{{.Permalink}}">
<span class="post-title">{{.Title}}</span>
</a>
</p>
2023-12-06 04:21:30 +00:00
{{- end }}
</div>
2023-12-04 03:43:34 +00:00
</div>
2023-12-06 04:21:30 +00:00
{{- end }}
2023-12-04 03:43:34 +00:00
</main>
{{ end }}
2023-12-06 04:21:30 +00:00
{{ define "footer" }}
{{ partial "footer.html" . }}
2023-12-06 04:21:30 +00:00
{{ end }}