Skip to content
A mustache template loading and rendering library
CoffeeScript
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib
src
.gitignore
LICENSE
Makefile
README.md
package.json

README.md

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.

Something went wrong with that request. Please try again.