-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
Because there's only one compactJsHtml function, compact doesn't allow you to create, say, one set of JS files to be concatenated in the <head> and another set to be concatenated at the end of the <body>.
How about an API that looks like this:
// Express configuration
app.use(compact.middleware({
head: ['namespace1'],
foot: ['namespace2']
});
// Jade template
html
head
!= compact.head.html()
body
block content
!= compact.foot.html()
Metadata
Metadata
Assignees
Labels
No labels