Adding ability to inject the version number into the mini site using `$$version$$`

master
Nicolas Garnier 2015-06-10 12:39:38 +02:00
parent e245e187bc
commit 14a4c5c20c
1 changed files with 1 additions and 0 deletions

View File

@ -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())