mod-build 3.6.21--beta.1 → 3.6.21--beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/gulp-tasks/templates.js +4 -3
- package/package.json +1 -1
package/gulp-tasks/templates.js
CHANGED
|
@@ -142,10 +142,11 @@ module.exports = function(gulp, gulpPlugins, siteSettings, siteData) {
|
|
|
142
142
|
{
|
|
143
143
|
name: 'ignoreKeys',
|
|
144
144
|
fn: function(keysToIgnore, key, options) {
|
|
145
|
-
|
|
146
|
-
|
|
145
|
+
var ignoreKeys = keysToIgnore.split(',');
|
|
146
|
+
if (ignoreKeys.indexOf(key) === -1) {
|
|
147
|
+
return options.fn(this);
|
|
147
148
|
} else {
|
|
148
|
-
|
|
149
|
+
return options.inverse(this);
|
|
149
150
|
}
|
|
150
151
|
}
|
|
151
152
|
}
|