From 3cb36b256bf9d9e26aa7eef328fe682e2a028447 Mon Sep 17 00:00:00 2001 From: Jeff Avallone Date: Thu, 10 Mar 2016 17:12:35 -0500 Subject: [PATCH] Updating gulp-hb version --- gulpfile.js | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index e2dc9f8..024ad0b 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -71,8 +71,8 @@ gulp.task('markup', 'Build markup into ./build directory.', function() { data: config.globs.data, helpers: config.globs.helpers, partials: config.globs.partials, - parsePartialName: function(file) { - return _.last(file.shortPath.split('/')); + parsePartialName: function(option, file) { + return _.last(file.path.split('/')).replace('.hbs', ''); }, bustCache: true })) diff --git a/package.json b/package.json index 77950fc..fb7df56 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "gulp-connect": "^2.3.1", "gulp-docco": "0.0.4", "gulp-front-matter": "^1.3.0", - "gulp-hb": "^2.6.5", + "gulp-hb": "^5.0.1", "gulp-help": "^1.6.1", "gulp-jscs": "^3.0.2", "gulp-notify": "^2.0.1",