Fixing confusing comments
parent
fc5e203ba3
commit
1f7ce7d758
15
build.js
15
build.js
|
@ -99,13 +99,19 @@ var metalsmith = Metalsmith(__dirname)
|
|||
limit: 3
|
||||
}
|
||||
}))
|
||||
// Render News Article Headers
|
||||
// Render Rant & News Article Headers
|
||||
.use(branch('rants/**/*.html')
|
||||
.use(layouts({
|
||||
engine: "handlebars",
|
||||
default: "article.hbs"
|
||||
}))
|
||||
)
|
||||
.use(branch('news/**/*.html')
|
||||
.use(layouts({
|
||||
engine: "handlebars",
|
||||
default: "article.hbs"
|
||||
}))
|
||||
)
|
||||
// Render Lab Member Metadata
|
||||
.use(branch(['people/*.html', '!**/index.html'])
|
||||
.use(layouts({
|
||||
|
@ -114,13 +120,6 @@ var metalsmith = Metalsmith(__dirname)
|
|||
}))
|
||||
)
|
||||
// Final Render Pass
|
||||
.use(branch('news/**/*.html')
|
||||
.use(layouts({
|
||||
engine: "handlebars",
|
||||
default: "article.hbs"
|
||||
}))
|
||||
)
|
||||
// Render HTML
|
||||
.use(branch('**/*.html')
|
||||
// Render LaTeX inlined into the HTML
|
||||
.use(renderTeX())
|
||||
|
|
Loading…
Reference in New Issue