From 473740f69dcbad408b0d84567c2bb2de97e8a4aa Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Wed, 2 Aug 2023 21:41:30 -0300 Subject: content: bunch of stub pages --- src/content/dependencies/listAllSheetMusicFiles.js | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 src/content/dependencies/listAllSheetMusicFiles.js (limited to 'src/content/dependencies/listAllSheetMusicFiles.js') diff --git a/src/content/dependencies/listAllSheetMusicFiles.js b/src/content/dependencies/listAllSheetMusicFiles.js new file mode 100644 index 00000000..28a925ac --- /dev/null +++ b/src/content/dependencies/listAllSheetMusicFiles.js @@ -0,0 +1,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!`), + }); + }, +}; -- cgit 1.3.0-6-gf8a5