diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2023-03-23 15:00:59 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2023-03-23 15:01:16 -0300 |
commit | 8ab00d99fa2f14ac983f0693552b26e4050a939c (patch) | |
tree | 1d75c569eec9472c95b24f5072d8d145bf709ee3 /src/content/dependencies/linkAlbumGallery.js | |
parent | 95465bae3aaa92cb617c873bcbbfe8906bea7506 (diff) |
data steps: content function evaluation essentials
Also some more actual content in generateAlbumInfoPageContent, which is in fact fully working as-is(!!).
Diffstat (limited to 'src/content/dependencies/linkAlbumGallery.js')
-rw-r--r-- | src/content/dependencies/linkAlbumGallery.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/content/dependencies/linkAlbumGallery.js b/src/content/dependencies/linkAlbumGallery.js new file mode 100644 index 00000000..e3f30a29 --- /dev/null +++ b/src/content/dependencies/linkAlbumGallery.js @@ -0,0 +1,8 @@ +export default { + contentDependencies: ['linkThing'], + + relations: (relation, album) => + ({link: relation('linkThing', 'localized.albumGallery', album)}), + + generate: (relations) => relations.link, +}; |