1
0
Fork 0
mirror of https://github.com/GuerillaStudio/now-playing synced 2024-12-21 17:01:57 +00:00
now-playing/static/admin/config.json

108 lines
3.5 KiB
JSON
Raw Normal View History

2019-12-03 23:41:09 +00:00
{
"backend": {
"name": "github",
"repo": "GlitchFamily/now-playing"
2019-12-03 23:41:09 +00:00
},
"media_folder": "assets/upload",
"public_folder": "/upload",
"collections": [
{
"editor": {
"preview": false
},
"create": true,
"name": "musics",
2019-12-07 19:38:27 +00:00
"label": "Album",
2019-12-03 23:41:09 +00:00
"format": "frontmatter",
"folder": "content/musics",
"fields": [
{
"name": "title",
"label": "Name",
"widget": "string"
},
{
"name": "artist",
"label": "Artist",
"widget": "string"
},
{
"name": "date",
"label": "Date",
"widget": "datetime"
},
{
"name": "cover",
"label": "Album Cover",
"widget": "image",
"allow_multiple": false
},
{
"name": "styles",
"label": "Styles",
"widget": "list",
"allow_add": true
},
{
"name": "links",
"label": "Links",
"widget": "object",
"allow_add": true,
"fields": [
{
"name": "spotify",
"label": "Spotify",
"widget": "string",
"default": "",
"required": false
},
{
"name": "youtube",
"label": "Youtube",
"widget": "string",
"default": "",
"required": false
},
{
"name": "applemusic",
"label": "Apple Music",
"widget": "string",
"default": "",
"required": false
},
{
"name": "soundcloud",
"label": "SoundCloud",
"widget": "string",
"default": "",
"required": false
},
{
"name": "bandcamp",
"label": "Bandcamp",
"widget": "string",
"default": "",
"required": false
},
{
"name": "googleplay",
"label": "Google Play",
"widget": "string",
"default": "",
"required": false
},
{
"name": "deezer",
"label": "Deezer",
"widget": "string",
"default": "",
"required": false
}
]
}
]
}
]
}