Updated for recent Node.JS and DocPad engines