Use HUGO_ENV="production" to avoid noindex header

This commit is contained in:
Adin Scannell
2019-04-12 14:17:33 -07:00
committed by Ian Lewis
parent 644a73cb46
commit 4e9c131c58
+1 -1
View File
@@ -43,7 +43,7 @@ $(GO_TARGET): public $(GO_SOURCE)
cd cmd/gvisor-website && find . -name "*.go" -exec cp --parents \{\} ../../public \;
public/static: node_modules config.toml $(shell find archetypes assets content themes -type f | sed 's/ /\\ /g')
$(HUGO)
HUGO_ENV="production" $(HUGO)
node_modules: package.json package-lock.json
# Use npm ci because npm install will update the package-lock.json.