1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
export default {
contentDependencies: ['generateListingPage'],
extraDependencies: ['html', 'wikiData'],
sprawl() {
return {};
},
query(sprawl, spec) {
return {
spec,
};
},
relations(relation, query) {
return {
page: relation('generateListingPage', query.spec),
};
},
generate(relations, {html}) {
return relations.page.slots({
type: 'custom',
content:
html.tag('p', `Alright alright, this is a stub page! Coming soon!`),
});
},
};
|