mirror of
https://github.com/bigchaindb/site.git
synced 2024-12-25 02:46:10 +01:00
set environment correctly again
- this preent the whole site from getting indexed by search engines
- introduced in 66c92d8031
This commit is contained in:
parent
6509ad52c3
commit
a558cc541d
@ -114,8 +114,10 @@ gulp.task('jekyll', function(cb) {
|
|||||||
browser.notify('Compiling Jekyll');
|
browser.notify('Compiling Jekyll');
|
||||||
|
|
||||||
if (isProduction) {
|
if (isProduction) {
|
||||||
|
process.env.JEKYLL_ENV = 'production';
|
||||||
var jekyll_options = 'jekyll build';
|
var jekyll_options = 'jekyll build';
|
||||||
} else {
|
} else {
|
||||||
|
process.env.JEKYLL_ENV = 'development';
|
||||||
var jekyll_options = 'jekyll build --incremental --drafts --future';
|
var jekyll_options = 'jekyll build --incremental --drafts --future';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user