blob: 06ec64389b9184e5b403e12c5f6756f5aa6db448 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
export default {
contentDependencies: ['linkStationaryIndex'],
extraDependencies: ['wikiData'],
sprawl({wikiInfo}) {
return {wikiShortName: wikiInfo.nameShort};
},
relations: (relation) =>
({link: relation('linkTemplate')}),
data: (sprawl) =>
({wikiShortName: sprawl.wikiShortName}),
generate: (data, relations) =>
relations.link.slots({
path: ['home'],
content: data.wikiShortName,
}),
};
|