set environment correctly again

- this preent the whole site from getting indexed by search engines
- introduced in 66c92d8031
This commit is contained in:
Matthias Kretschmann 2017-03-17 17:55:41 +01:00
parent 6509ad52c3
commit a558cc541d
Signed by: m
GPG Key ID: BD3C1F3EDD7831FC
1 changed files with 2 additions and 0 deletions

View File

@ -114,8 +114,10 @@ gulp.task('jekyll', function(cb) {
browser.notify('Compiling Jekyll');
if (isProduction) {
process.env.JEKYLL_ENV = 'production';
var jekyll_options = 'jekyll build';
} else {
process.env.JEKYLL_ENV = 'development';
var jekyll_options = 'jekyll build --incremental --drafts --future';
}