« get me outta code hell

remove dead code from page/static.js - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2023-06-02 09:06:20 -0300
committer(quasar) nebula <qznebula@protonmail.com>2023-06-02 09:06:20 -0300
commitd46263754923e99ada6a9b368929a1f7c9b78f7f (patch)
tree6da7f7ada3ac99e176864d9b0daa13d08bb3a0da /src
parentb6cba67c7acd79affb2449f5c8582b6b1fe928ac (diff)
remove dead code from page/static.js
Diffstat (limited to 'src')
-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];
-}