Allow {genres} and {styles} for sharing album on fediverse

This commit is contained in:
Damien Broqua 2024-03-16 15:42:19 +01:00
parent 68414e3e71
commit 5b2758afca
5 changed files with 10 additions and 2 deletions

View file

@ -83,6 +83,8 @@ class Albums extends Pages {
)
.replaceAll("{artist}", data.artists[0].name)
.replaceAll("{format}", data.formats[0].name)
.replaceAll("{genres}", data.genres.join())
.replaceAll("{styles}", data.styles.join())
.replaceAll("{year}", data.year)
.replaceAll("{video}", video)
.replaceAll("{album}", data.title)}