Finish up photostream grid and single layouts
This commit is contained in:
parent
1bf8c28f23
commit
a74703beb5
7 changed files with 355 additions and 0 deletions
20
layouts/photos/list.html
Normal file
20
layouts/photos/list.html
Normal 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 }}
|
Loading…
Add table
Add a link
Reference in a new issue