diff options
Diffstat (limited to 'src/page/album.js')
-rw-r--r-- | src/page/album.js | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/page/album.js b/src/page/album.js index f2c35a14..834f52d7 100644 --- a/src/page/album.js +++ b/src/page/album.js @@ -154,15 +154,20 @@ export function write(album, {wikiData}) { main: { content: [ + generateStickyHeadingContainer({ + title: language.$('albumPage.title', {album: album.name}), + + coverSrc: cover, + coverAlt: language.$('misc.alt.albumCover'), + coverTags: album.artTags, + }), + cover && generateCoverLink({ src: cover, alt: language.$('misc.alt.albumCover'), tags: album.artTags, }), - generateStickyHeadingContainer( - language.$('albumPage.title', {album: album.name})), - html.tag('p', { [html.onlyIfContent]: true, |