erynwells.me/layouts/photos/list.html
Eryn Wells 1e8b80481e Photos page styles
- Create items in the grid for the month and year
- Use child selectors where possible
- fix the layout
2022-10-25 17:48:20 -04:00

20 lines
476 B
HTML

{{ define "header" }}
{{ partial "header.html" . }}
{{ end }}
{{ define "main" }}
{{- $pages := (.Paginate (first 50 (.Pages.GroupByDate "January 2006"))).PageGroups -}}
{{ $pages := .Pages.ByDate.GroupByDate "Jan 2006" }}
{{- range $pages -}}
<div>
<h6><span>{{ .Key | title }}</span></h6>
</div>
{{- range .Pages -}}
{{- .Render "li_thumbnail_in_grid" -}}
{{- end -}}
{{- end -}}
{{ end }}
{{ define "footer" }}
{{ partial "footer.html" . }}
{{ end }}