Initial commit
This commit is contained in:
16
site/blueprints/sections/albums.yml
Normal file
16
site/blueprints/sections/albums.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
# This section blueprint defines a pages section that can be reused across multiple blueprints
|
||||
# or multiple times within the same blueprint, see `/site/blueprints/pages/photography.yml` and `/site/blueprints/site.yml`
|
||||
# Sections can have different layouts and display additional information or a preview image
|
||||
# More about pages sections: https://getkirby.com/docs/reference/panel/sections/pages
|
||||
type: pages
|
||||
label: Photography
|
||||
parent: kirby.page("photography")
|
||||
size: small
|
||||
info: "{{ page.images.count }} image(s)"
|
||||
layout: cards
|
||||
template: album
|
||||
empty: No albums yet
|
||||
image:
|
||||
query: page.cover
|
||||
cover: true
|
||||
ratio: 5/4
|
||||
Reference in New Issue
Block a user