« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/page/static.js24
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];
-}