« get me outta code hell

content: generateWikiHomePage (layout besides content) - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/content/dependencies/linkFlashIndex.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2023-07-26 10:13:46 -0300
committer(quasar) nebula <qznebula@protonmail.com>2023-07-26 10:15:23 -0300
commitbce6a52f44b6be8de1d7ed42150d051c25e63fb7 (patch)
tree3cb4b95fe277c37b3bba540f866ab5a2f02525f1 /src/content/dependencies/linkFlashIndex.js
parent40b607ef6f0500d36d1e7541b4229e45c866d5ae (diff)
content: generateWikiHomePage (layout besides content)
Diffstat (limited to 'src/content/dependencies/linkFlashIndex.js')
-rw-r--r--src/content/dependencies/linkFlashIndex.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/content/dependencies/linkFlashIndex.js b/src/content/dependencies/linkFlashIndex.js
new file mode 100644
index 00000000..6dd0710e
--- /dev/null
+++ b/src/content/dependencies/linkFlashIndex.js
@@ -0,0 +1,12 @@
+export default {
+  contentDependencies: ['linkStationaryIndex'],
+
+  relations: (relation) =>
+    ({link:
+        relation(
+          'linkStationaryIndex',
+          'localized.flashIndex',
+          'flashIndex.title')}),
+
+  generate: (relations) => relations.link,
+};