diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2022-07-07 02:07:52 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2022-07-07 02:11:22 -0300 |
commit | 1ad3694bf132604eb7044c5a47771637d2b5d56f (patch) | |
tree | 3a1c08ef8195677c03ec36dbd96813e1d72906f3 /src/page/album-commentary.js | |
parent | 202d6e2a7bccd58823dbdbe6cf4150a4bdad9f74 (diff) |
htmlify: artist, commentary, flash, static, tag
Diffstat (limited to 'src/page/album-commentary.js')
-rw-r--r-- | src/page/album-commentary.js | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/page/album-commentary.js b/src/page/album-commentary.js index 43b8c8d..beddf5a 100644 --- a/src/page/album-commentary.js +++ b/src/page/album-commentary.js @@ -2,13 +2,8 @@ // Album commentary page and index specifications. -// Imports - -import * as html from '../util/html.js'; import {filterAlbumsByCommentary} from '../util/wiki-data.js'; -// Page exports - export function condition({wikiData}) { return filterAlbumsByCommentary(wikiData.albumData).length; } @@ -30,8 +25,9 @@ export function write(album) { getAlbumStylesheet, getLinkThemeString, getThemeString, - link, + html, language, + link, transformMultiline, }) => ({ title: language.$('albumCommentaryPage.title', {album: album.name}), @@ -105,7 +101,11 @@ export function writeTargetless({wikiData}) { const page = { type: 'page', path: ['commentaryIndex'], - page: ({link, language}) => ({ + page: ({ + html, + language, + link, + }) => ({ title: language.$('commentaryIndex.title'), main: { |