Adding ability to inject the version number into the mini site using `$$version$$`
parent
e245e187bc
commit
14a4c5c20c
|
@ -307,6 +307,7 @@ gulp.task('demos', function () {
|
|||
*/
|
||||
gulp.task('pages', ['components'], function() {
|
||||
return gulp.src(['docs/_pages/*.md'])
|
||||
.pipe($.replace("$$version$$", pkg.version))
|
||||
.pipe($.frontMatter({property: 'page', remove: true}))
|
||||
.pipe($.marked())
|
||||
.pipe(applyTemplate())
|
||||
|
|
Loading…
Reference in New Issue