From 4e9c131c589d02cb3360d8cd43449e5a58a8e882 Mon Sep 17 00:00:00 2001 From: Adin Scannell Date: Thu, 11 Apr 2019 18:54:14 -0700 Subject: [PATCH] Use HUGO_ENV="production" to avoid noindex header --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f7f8b72e9..6c708a977 100644 --- a/Makefile +++ b/Makefile @@ -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.