diff options
Diffstat (limited to 'src/page/flash.js')
-rw-r--r-- | src/page/flash.js | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/page/flash.js b/src/page/flash.js index 2f5778e8..f5d73475 100644 --- a/src/page/flash.js +++ b/src/page/flash.js @@ -13,6 +13,31 @@ export function targets({wikiData}) { return wikiData.flashData; } +export function pathsForTarget(flash) { + return [ + { + type: 'page', + path: ['flash', flash.directory], + + contentFunction: { + name: 'generateFlashInfoPage', + args: [flash], + }, + }, + ]; +} + +export function pathsTargetless() { + return [ + { + type: 'page', + path: ['flashIndex'], + contentFunction: {name: 'generateFlashIndexPage'}, + }, + ]; +} + +/* export function write(flash, {wikiData}) { const page = { type: 'page', @@ -337,3 +362,4 @@ function generateSidebarForFlash(flash, { ], }; } +*/ |