title: Tournament create: status: listed sections: fields: type: fields fields: participants: width: 1/2 label: Participants type: pages query: site.find('members') text: "{{ page.forename }} {{ page.surname }} ({{ page.nickname }})" date: width: 1/2 label: Date type: date default: width: 1/1 label: Template type: pages max: 1 query: site.find("Templates").drafts # layout: # type: layout # layouts: # - "1/6, 1/6, 1/6, 1/6, 1/6, 1/6" # fieldsets: # - heading # - simple_game pages: type: pages label: Games template: xoi text: "[{{ page.startdate.toDate('d.m.') }}] {{ page.players.toPages.first.forename }} {{ page.players.toPages.first.surname }} vs. {{ page.players.toPages.nth(1).forename }} {{ page.players.toPages.nth(1).surname }}" sortBy: startdate desc status: unlisted # pages2: # type: pages # label: Default # template: xoi # sortBy: startdate desc # status: draft # max: 1 # limit: 1