diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/page/album.js | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/src/page/album.js b/src/page/album.js index 6bcff886..b9965547 100644 --- a/src/page/album.js +++ b/src/page/album.js @@ -210,13 +210,15 @@ export function write(album, {wikiData}) { ${album.tracks.map(trackToListItem).join('\n')} </${listTag}> `} - <p> - ${[ - strings('releaseInfo.addedToWiki', { - date: strings.count.date(album.dateAdded) - }) - ].filter(Boolean).join('<br>\n')} - </p> + ${album.dateAddedToWiki && fixWS` + <p> + ${[ + strings('releaseInfo.addedToWiki', { + date: strings.count.date(album.dateAddedToWiki) + }) + ].filter(Boolean).join('<br>\n')} + </p> + `} ${album.commentary && fixWS` <p>${strings('releaseInfo.artistCommentary')}</p> <blockquote> |