« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/upd8.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/upd8.js')
-rwxr-xr-xsrc/upd8.js32
1 files changed, 0 insertions, 32 deletions
diff --git a/src/upd8.js b/src/upd8.js
index b9fa0274..a1fafb27 100755
--- a/src/upd8.js
+++ b/src/upd8.js
@@ -2429,38 +2429,6 @@ function writeMiscellaneousPages({wikiData}) {
     ];
 }
 
-function writeStaticPages({wikiData}) {
-    return wikiData.staticPageData.map(staticPage => writeStaticPage(staticPage, {wikiData}));
-}
-
-function writeStaticPage(staticPage, {wikiData}) {
-    const page = {
-        type: 'page',
-        path: ['staticPage', staticPage.directory],
-        page: ({
-            strings,
-            transformMultiline
-        }) => ({
-            title: staticPage.name,
-            stylesheet: staticPage.stylesheet,
-
-            main: {
-                content: fixWS`
-                    <div class="long-content">
-                        <h1>${staticPage.name}</h1>
-                        ${transformMultiline(staticPage.content)}
-                    </div>
-                `
-            },
-
-            nav: {simple: true}
-        })
-    };
-
-    return [page];
-}
-
-
 function getRevealStringFromWarnings(warnings, {strings}) {
     return strings('misc.contentWarnings', {warnings}) + `<br><span class="reveal-interaction">${strings('misc.contentWarnings.reveal')}</span>`
 }