chore: adjust alt text

This commit is contained in:
Cory Dransfeldt 2023-11-13 15:01:59 -08:00
parent 17d0d68846
commit 9d6570b344

View file

@ -12,7 +12,7 @@ module.exports = {
} }
if (item.type === 'artist') { if (item.type === 'artist') {
normalized['title'] = item['title'] normalized['title'] = item['title']
normalized['alt'] = `${item['title']} at #${item['rank']}` normalized['alt'] = `${item['plays']} plays of ${item['title']}`
normalized['subtext'] = `${item['plays']} plays` normalized['subtext'] = `${item['plays']} plays`
} }
if (item.type === 'movie') normalized['alt'] = item['title'] if (item.type === 'movie') normalized['alt'] = item['title']