Bunch of misc photos template clean up
This commit is contained in:
parent
f23b047a0f
commit
5bfa439700
2 changed files with 23 additions and 32 deletions
|
@ -5,14 +5,12 @@
|
|||
{{ define "main" }}
|
||||
{{- $pages := (.Paginate (first 50 (.Pages.GroupByDate "January 2006"))).PageGroups -}}
|
||||
{{- range $pages -}}
|
||||
<section class="photos">
|
||||
<h6>{{ .Key | title }}</h6>
|
||||
<ul class="grid">
|
||||
{{- range .Pages -}}
|
||||
{{- .Render "li_thumbnail_in_grid" -}}
|
||||
{{- end -}}
|
||||
</ul>
|
||||
</section>
|
||||
<h6>{{ .Key | title }}</h6>
|
||||
<ul class="grid">
|
||||
{{- range .Pages -}}
|
||||
{{- .Render "li_thumbnail_in_grid" -}}
|
||||
{{- end -}}
|
||||
</ul>
|
||||
{{- end -}}
|
||||
{{ end }}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue