From b79c6f7f544665ed7c377426107f9d6dd52978d4 Mon Sep 17 00:00:00 2001 From: readme Date: Tue, 3 Mar 2020 16:08:27 +0100 Subject: [PATCH] clean more --- build.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/build.js b/build.js index eec402c..239e8d7 100644 --- a/build.js +++ b/build.js @@ -22,7 +22,6 @@ siteMeta = { contact: 'https://chat.dashdevs.org', domain: devBuild ? 'http://127.0.0.1' : 'https://dashdev-suite.github.io', // set domain rootpath: devBuild ? null : '/dashdev-website/build/' // set absolute path (null for relative) - // root: devBuild ? null : '/build' // TODO: not working?, but also not needed }; templateConfig = { @@ -109,7 +108,6 @@ var metalsmith = Metalsmith(__dirname) pattern: /\.md$/, // regex; no idea why .md works, check discoverPartials above partialsPath: './../partials', partials: ['navmain', 'navsub', 'footer', 'header', 'meta', 'pagelist'] - // partials: ['partial'] })) .use(markdown()) // convert markdown .use(permalinks({ // generate permalinks @@ -130,11 +128,6 @@ var metalsmith = Metalsmith(__dirname) })) // .use(layouts({ // //engineOptions: {}, -// pattern: `start/**`, -// default: 'article.hbs' -// })) -// .use(layouts({ -// //engineOptions: {}, // pattern: `article/**`, // default: 'article.hbs' // }))