chore: adjust alt text
This commit is contained in:
parent
17d0d68846
commit
9d6570b344
1 changed files with 1 additions and 1 deletions
|
@ -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']
|
||||||
|
|
Reference in a new issue