diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/page/static.js | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/src/page/static.js b/src/page/static.js index 4b8f8f4e..82330dec 100644 --- a/src/page/static.js +++ b/src/page/static.js @@ -21,27 +21,3 @@ export function pathsForTarget(staticPage) { }, ]; } - -export function write(staticPage) { - const page = { - type: 'page', - path: ['staticPage', staticPage.directory], - page: ({ - transformMultiline, - }) => ({ - title: staticPage.name, - stylesheet: staticPage.stylesheet, - - main: { - classes: ['long-content'], - headingMode: 'sticky', - - content: transformMultiline(staticPage.content), - }, - - nav: {simple: true}, - }), - }; - - return [page]; -} |