mod-build 3.6.1--beta.17 → 3.6.1--beta.18
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 +2 -2
- package/package.json +1 -1
package/gulp-tasks/templates.js
CHANGED
|
@@ -66,7 +66,7 @@ module.exports = function(gulp, gulpPlugins, siteSettings, siteData) {
|
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
68
|
},
|
|
69
|
-
// Check to see if seasonal
|
|
69
|
+
// Check to see if seasonal changes should be made
|
|
70
70
|
{
|
|
71
71
|
name: 'ifSeason',
|
|
72
72
|
fn: function(season, block) {
|
|
@@ -81,7 +81,7 @@ module.exports = function(gulp, gulpPlugins, siteSettings, siteData) {
|
|
|
81
81
|
isSeason = !(today > startOfSpring && today < startOfFall);
|
|
82
82
|
break
|
|
83
83
|
}
|
|
84
|
-
return isSeason ? block.fn(this) : block.
|
|
84
|
+
return isSeason ? block.fn(this) : block.inverse(this);
|
|
85
85
|
}
|
|
86
86
|
},
|
|
87
87
|
// Convert string to uppercase
|