From 6b35077eb1542eaf9a89534d6920c35fee86cc04 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Sat, 15 Apr 2023 12:22:48 -0300 Subject: content: generateAlbumSidebar + misc fixes This restores the CSS for sticky sidebars, but removes the specific lines applying that effect (for the album sidebar). There's also an experimental new splitter for the joined group info box but we might go back on that or do something different. No tests for the new stuff here yet! --- src/content/dependencies/linkGroup.js | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/content/dependencies/linkGroup.js (limited to 'src/content/dependencies/linkGroup.js') diff --git a/src/content/dependencies/linkGroup.js b/src/content/dependencies/linkGroup.js new file mode 100644 index 00000000..ebab1b5b --- /dev/null +++ b/src/content/dependencies/linkGroup.js @@ -0,0 +1,8 @@ +export default { + contentDependencies: ['linkThing'], + + relations: (relation, group) => + ({link: relation('linkThing', 'localized.groupInfo', group)}), + + generate: (relations) => relations.link, +}; -- cgit 1.3.0-6-gf8a5