Comparing version 1.0.7 to 1.0.8
@@ -103,4 +103,8 @@ | ||
var view_dir = options.settings.views; | ||
var layout_filename = path.join(view_dir, options.layout || 'layout' + extension); | ||
var layout_filename = path.join(view_dir, options.layout || 'layout'); | ||
if (!path.extname(layout_filename)) { | ||
layout_filename += extension; | ||
}; | ||
var layout_template = cache[layout_filename]; | ||
@@ -107,0 +111,0 @@ if (layout_template) { |
{ | ||
"name": "hbs", | ||
"description": "Express.js template engine plugin for Handlebars", | ||
"version": "1.0.7", | ||
"version": "1.0.8", | ||
"homepage": "https://github.com/donpark/hbs", | ||
@@ -6,0 +6,0 @@ "author": "Don Park <donpark@docuverse.com> (http://blog.docuverse.com)", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11736
248