var fs   = require('fs');
var glob = require('glob');
var path = require('path');

module.exports = function(dir) {
  var layouts = glob.sync(path.join(dir, '**/*.{html,hbs,handlebars}'));

  for (var i in layouts) {
    var ext = path.extname(layouts[i]);
    var name = path.basename(layouts[i], ext);
    var file = fs.readFileSync(layouts[i]);
    this.layouts[name] = this.Handlebars.compile(file.toString());
  }
}

var fs   = require('fs');
var glob = require('glob');
var path = require('path');

module.exports = function(dir) {
  var layouts = glob.sync(path.join(dir, '**/*.html'));

  for (var i in layouts) {
    var name = path.basename(layouts[i], '.html');
    var file = fs.readFileSync(layouts[i]);
    this.layouts[name] = this.Handlebars.compile(file.toString());
  }
}

--- 
+++ 
@@ -3,11 +3,10 @@
 var path = require('path');
 
 module.exports = function(dir) {
-  var layouts = glob.sync(path.join(dir, '**/*.{html,hbs,handlebars}'));
+  var layouts = glob.sync(path.join(dir, '**/*.html'));
 
   for (var i in layouts) {
-    var ext = path.extname(layouts[i]);
-    var name = path.basename(layouts[i], ext);
+    var name = path.basename(layouts[i], '.html');
     var file = fs.readFileSync(layouts[i]);
     this.layouts[name] = this.Handlebars.compile(file.toString());
   }
Load html, hbs, or handlebars files when looking for layouts
