mirror of
https://github.com/seigler/dashdev-website
synced 2025-07-27 06:46:09 +00:00
clean more
This commit is contained in:
parent
e7a7a035e6
commit
b79c6f7f54
1 changed files with 0 additions and 7 deletions
7
build.js
7
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'
|
||||
// }))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue