Fixing confusing comments

pull/1/head
Oliver Kennedy 2015-12-15 10:04:48 -05:00
parent fc5e203ba3
commit 1f7ce7d758
1 changed files with 7 additions and 8 deletions

View File

@ -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())