Move all layouts to platters theme
This commit is contained in:
parent
de8101efed
commit
66adceaf24
91 changed files with 0 additions and 0 deletions
9
themes/platters/layouts/partials/photos/list.html
Normal file
9
themes/platters/layouts/partials/photos/list.html
Normal file
|
@ -0,0 +1,9 @@
|
|||
{{ $thumbnailResourcesNames := slice "thumbnail" "Thumbnail" "thumbnail.jpg" "Thumbnail.jpg" }}
|
||||
{{ with index .Params "thumbnail" }}
|
||||
{{ $thumbnailResourcesNames = $thumbnailResourcesNames | append . }}
|
||||
{{ end }}
|
||||
|
||||
{{ $imageResources := .Resources.ByType "image" }}
|
||||
{{ $photos := where $imageResources "Name" "not in" $thumbnailResourcesNames }}
|
||||
|
||||
{{ return $photos }}
|
Loading…
Add table
Add a link
Reference in a new issue