summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAdin Scannell <ascannell@google.com>2019-04-11 18:54:14 -0700
committerIan Lewis <ianlewis@google.com>2019-04-12 14:17:33 -0700
commit4e9c131c589d02cb3360d8cd43449e5a58a8e882 (patch)
tree2eed22a0b7d5a37b7daa628aa055b917152dd87e
parent644a73cb468acca68a78ae0a881c7eb5bd16e750 (diff)
Use HUGO_ENV="production" to avoid noindex header
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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.