« get me outta code hell

content, client, css: generateArtistRollingWindowPage - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/content/dependencies/linkArtistRollingWindow.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-03-11 19:34:40 -0300
committer(quasar) nebula <qznebula@protonmail.com>2025-07-11 08:23:19 -0300
commitf8b24147722763117c3bc3a2368c7b4ac2826ea4 (patch)
treea9a2af89b3aa9e46b430f9a860898f0a797c621e /src/content/dependencies/linkArtistRollingWindow.js
parentdf8ddccb30f86f1f67f8099ca5368783bea47088 (diff)
content, client, css: generateArtistRollingWindowPage
Diffstat (limited to 'src/content/dependencies/linkArtistRollingWindow.js')
-rw-r--r--src/content/dependencies/linkArtistRollingWindow.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/content/dependencies/linkArtistRollingWindow.js b/src/content/dependencies/linkArtistRollingWindow.js
new file mode 100644
index 00000000..e94b8ec5
--- /dev/null
+++ b/src/content/dependencies/linkArtistRollingWindow.js
@@ -0,0 +1,8 @@
+export default {
+  contentDependencies: ['linkThing'],
+
+  relations: (relation, artist) =>
+    ({link: relation('linkThing', 'localized.artistRollingWindow', artist)}),
+
+  generate: (relations) => relations.link,
+};