Skip to content
This repository was archived by the owner on Nov 3, 2021. It is now read-only.

Commit 68f5008

Browse files
committed
Makes sure front matter is removed before building component
1 parent 0a7a882 commit 68f5008

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/electric/lib/tasks/soyweb.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ module.exports = function(options) {
6161
.src(srcPath, {
6262
base: path.join(TEMP_DIR_SITE, 'pages')
6363
})
64-
.pipe(frontMatter())
6564
.on('error', handleError)
6665
.pipe(
6766
soynode({
@@ -135,6 +134,9 @@ module.exports = function(options) {
135134
})
136135
)
137136
.pipe(tokenReplace(options))
137+
.pipe(frontMatter({
138+
remove: true
139+
}))
138140
.pipe(gulp.dest(TEMP_DIR_SITE));
139141
});
140142

0 commit comments

Comments
 (0)