Replace site.find() with kirby.page()
This commit is contained in:
committed by
Bastian Allgeier
parent
dfb74b1f52
commit
487b0f4ed3
@@ -34,7 +34,7 @@ columns:
|
||||
tags: true
|
||||
gallery:
|
||||
type: pages
|
||||
query: site.find("photography").children
|
||||
query: kirby.page("photography").children
|
||||
multiple: false
|
||||
info: "{{ page.images.count }} image(s)"
|
||||
empty: "No gallery selected"
|
||||
|
@@ -16,4 +16,4 @@ fields:
|
||||
label: Image
|
||||
type: files
|
||||
max: 1
|
||||
parent: site.find('photography').children.first
|
||||
parent: kirby.page('photography').children.first
|
||||
|
Reference in New Issue
Block a user