diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2023-10-04 15:27:47 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2023-10-04 15:28:05 -0300 |
commit | 682c8a9591b59959184d6e374d8cdd73c6ddf53d (patch) | |
tree | 7afcc1de04f5c815def76b091bb1b017e2611d14 /src/content/dependencies/linkArtTagInfo.js | |
parent | 14d566aa5ea44dbffda2540f0e44b34dedfc79bb (diff) |
content: linkArtTagDynamically
Diffstat (limited to 'src/content/dependencies/linkArtTagInfo.js')
-rw-r--r-- | src/content/dependencies/linkArtTagInfo.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/content/dependencies/linkArtTagInfo.js b/src/content/dependencies/linkArtTagInfo.js new file mode 100644 index 00000000..409cb3c0 --- /dev/null +++ b/src/content/dependencies/linkArtTagInfo.js @@ -0,0 +1,8 @@ +export default { + contentDependencies: ['linkThing'], + + relations: (relation, artTag) => + ({link: relation('linkThing', 'localized.artTagInfo', artTag)}), + + generate: (relations) => relations.link, +}; |