diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2023-02-24 14:57:47 -0400 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2023-02-24 14:57:47 -0400 |
commit | 3b873a6d04f3d317423d1a037536692de808b6fe (patch) | |
tree | 38c01f7eb55d45e83ed0fe0055480c9af9e76708 | |
parent | 4dbd31b0329b9618341d494a8d6e04f5c30ff32e (diff) |
regroup some yaml fields
-rw-r--r-- | src/data/yaml.js | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/data/yaml.js b/src/data/yaml.js index d2a1a053..6350588d 100644 --- a/src/data/yaml.js +++ b/src/data/yaml.js @@ -278,15 +278,14 @@ export const processTrackDocument = makeProcessDocument(T.Track, { export const processArtistDocument = makeProcessDocument(T.Artist, { propertyFieldMapping: { name: 'Artist', - directory: 'Directory', urls: 'URLs', + contextNotes: 'Context Notes', + hasAvatar: 'Has Avatar', avatarFileExtension: 'Avatar File Extension', aliasNames: 'Aliases', - - contextNotes: 'Context Notes', }, ignoredFields: ['Dead URLs'], @@ -301,15 +300,15 @@ export const processFlashDocument = makeProcessDocument(T.Flash, { propertyFieldMapping: { name: 'Flash', - directory: 'Directory', page: 'Page', + urls: 'URLs', + date: 'Date', coverArtFileExtension: 'Cover Art File Extension', featuredTracksByRef: 'Featured Tracks', contributorContribsByRef: 'Contributors', - urls: 'URLs', }, }); @@ -369,8 +368,8 @@ export const processStaticPageDocument = makeProcessDocument(T.StaticPage, { nameShort: 'Short Name', directory: 'Directory', - content: 'Content', stylesheet: 'Style', + content: 'Content', }, }); |