fix: unique concert share urls
This commit is contained in:
parent
a46cf7a455
commit
71210e6f22
3 changed files with 4 additions and 4 deletions
|
@ -111,7 +111,7 @@ export const processContent = (collection) => {
|
|||
if (item?.['slug']) content['url'] = new URL(item['slug'], BASE_URL).toString()
|
||||
|
||||
// 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?.['artistUrl']) content['url'] = `${item['artistUrl']}?t=${DateTime.fromISO(item['date']).toMillis()}#concerts`
|
||||
if (item?.['description']) {
|
||||
content['description'] = `${item['description'].split(' ').slice(0, 25).join(' ')}...`
|
||||
} else if (item?.['notes']) {
|
||||
|
|
Reference in a new issue