Finish up photostream grid and single layouts

This commit is contained in:
Eryn Wells 2024-10-17 08:34:18 -07:00
parent 1bf8c28f23
commit a74703beb5
7 changed files with 355 additions and 0 deletions

20
layouts/photos/list.html Normal file
View file

@ -0,0 +1,20 @@
{{ define "main" }}
<main class="main--list main--photostream">
<header class="page-header">
{{ partial "page_header.html" (dict "page" .) }}
</header>
{{- .Content -}}
{{ range .Pages.ByDate.Reverse.GroupByDate "2006" }}
<section class="photostream-grid">
<header class="photostream-grid__date-heading">
<h2>{{ .Key }}</h2>
</header>
{{ range .Pages }}
{{ .Render "page_summary" }}
{{ end }}
</section>
{{ end }}
</main>
{{ end }}