bulk-hogan

0.3.0 • Public • Published

bulk-hogan

Bulk-Hogan will search your directory structure for two kinds of folders, templates and modules. Then you can access compiled versions of your templates like

# renders /templates/home.html.mustache 
templates.render 'home'{ body: "body html" }(err, html) ->
  throw err if err?
  console.log html
 
# renders /modules/footer/module.html.mustache 
templates.render 'footer'{} (err, html) ->
 
# renders /modules/footer/links.html.mustache 
templates.render 'footer_links'{} (err, html) ->

This is an early beta release. Use at your own risk etc.

/bulk-hogan/

    Package Sidebar

    Install

    npm i bulk-hogan

    Weekly Downloads

    0

    Version

    0.3.0

    License

    MIT

    Last publish

    Collaborators

    • mcculloughsean
    • quackingduck