DRAFT | new theme - minimage
This commit is contained in:
parent
5116fe4640
commit
ac8d9e7eb3
90 changed files with 15302 additions and 1 deletions
19
themes/minimage/tasks/_pug.js
Normal file
19
themes/minimage/tasks/_pug.js
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
'use strict';
|
||||
|
||||
import gulp from 'gulp'
|
||||
import pug from 'gulp-pug'
|
||||
import plumber from 'gulp-plumber'
|
||||
|
||||
import config from '../config'
|
||||
|
||||
gulp.task('pug', () => {
|
||||
return gulp.src([
|
||||
config.source.html + '**/*.pug',
|
||||
'!' + config.source.html + '**/_*.pug'
|
||||
])
|
||||
.pipe(plumber())
|
||||
.pipe(pug({
|
||||
pretty: true
|
||||
}))
|
||||
.pipe(gulp.dest(config.build.html));
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue