diff options
author | Adin Scannell <ascannell@google.com> | 2019-04-11 18:54:14 -0700 |
---|---|---|
committer | Ian Lewis <ianlewis@google.com> | 2019-04-12 14:17:33 -0700 |
commit | 4e9c131c589d02cb3360d8cd43449e5a58a8e882 (patch) | |
tree | 2eed22a0b7d5a37b7daa628aa055b917152dd87e | |
parent | 644a73cb468acca68a78ae0a881c7eb5bd16e750 (diff) |
Use HUGO_ENV="production" to avoid noindex header
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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. |