feat: formatted + cleaned up feeds

This commit is contained in:
Cory Dransfeldt 2024-08-10 14:32:59 -07:00
parent 74279cf2d5
commit 7934cc3581
No known key found for this signature in database
16 changed files with 367 additions and 33 deletions

View file

@ -110,9 +110,9 @@ export const processContent = (collection) => {
// link to artist concerts section if available - artistUrl is only present on concert objects here
if (item?.['artistUrl']) content['url'] = `${item['artistUrl']}#concerts`
if (item?.['description']) {
content['description'] = `${item['description'].split(' ').slice(0, 25).join(' ')}...<br/><br/>`
content['description'] = `${item['description'].split(' ').slice(0, 25).join(' ')}...`
} else if (item?.['notes']) {
content['notes'] = `${item['notes'].split(' ').slice(0, 25).join(' ')}...<br/><br/>`
content['notes'] = `${item['notes'].split(' ').slice(0, 25).join(' ')}...`
} else {
content['description'] = ''
}