clean more

This commit is contained in:
readme 2020-03-03 16:08:27 +01:00
parent e7a7a035e6
commit b79c6f7f54

View file

@ -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'
// }))