popnoire/site/blueprints/pages/release.yml
2026-02-12 15:22:46 +01:00

102 lines
2.2 KiB
YAML

title: Release
tabs:
infosTab:
label: Infos
icon: dots
columns:
- width: 1/2
fields:
featured:
label: Featured
type: files
layout: cards
size: large
image:
ratio: 1/1
cover: true
max: 1
width: 1/2
- width: 1/2
fields:
date:
label: Release date
type: date
display: DD/MM/YYYY
width: 1/2
catalogueNumber:
label: Cat. number
type: text
width: 1/2
# medias:
# label: Additional images
# type: files
# width: 1/2
productLink:
label: Product link
type: select
options: query
query:
fetch: site.find('shop').find('releases').children.sort
text: '{{ page.title }} ({{page.uri}})'
value: '{{page.uri}}'
text:
label: Description
type: textarea
trackListTab:
label: Tracklist
icon: file-audio
fields:
tracklist:
label: Tracklist
type: structure
style: table
fields:
title:
label: Title
type: text
required: true
audioFile:
label: File
type: select
required: true
options: query
query: page.parent.files
duration:
label: Duration
type: text
# playlistLink:
# label: Tracklist
# type: url
# help: Soundcloud URL
# width: 1/2
# buy:
# label: Buy
# type: structure
# style: table
# width: 1/2
# fields:
# title:
# label: Title
# type: text
# url:
# label: URL
# type: url
# default:
# -
# title: Vinyl
# url:
# -
# title: Digital
# url:
# additionalText:
# label: Additional infos
# type: structure
# style: table
# fields:
# title:
# label: Title
# type: text
# text:
# label: Text
# type: textarea