diff options
Diffstat (limited to 'src/page/tag.js')
-rw-r--r-- | src/page/tag.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/page/tag.js b/src/page/tag.js index 4253120..791c713 100644 --- a/src/page/tag.js +++ b/src/page/tag.js @@ -53,9 +53,9 @@ export function write(tag, {wikiData}) { srcFn: thing => (thing.album ? getTrackCover(thing) : getAlbumCover(thing)), - hrefFn: thing => (thing.album - ? to('localized.track', thing.directory) - : to('localized.album', thing.directory)) + linkFn: (thing, opts) => (thing.album + ? link.track(thing, opts) + : link.album(thing, opts)) })} </div> ` |