blob: fbb819edd4c19c045af68ca902432eaf6a178536 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
export default {
contentDependencies: ['linkThing'],
extraDependencies: ['html'],
relations: (relation, flashAct) =>
({link: relation('linkThing', 'localized.flashActGallery', flashAct)}),
data: (flashAct) =>
({name: flashAct.name}),
generate: (data, relations, {html}) =>
relations.link
.slot('content', new html.Tag(null, null, data.name)),
};
|