diff --git a/build/README.md b/build/README.md
index b3cbff6547..95885d5a96 100644
--- a/build/README.md
+++ b/build/README.md
@@ -436,8 +436,11 @@ Run the linter and tests
#### `make site-server`
Generate `https://agones.dev` website locally and host on `http://localhost:1313`
+#### `make hugo-test`
+Check the links in a website
+
#### `make site-test`
-Check the links in website
+Check the links in a website, includes `test-gen-api-docs` target
#### `make site-images`
Create all the site images from dot and puml diagrams in /site/static/diagrams
diff --git a/build/includes/website.mk b/build/includes/website.mk
index b16c2cad36..3332f8d808 100644
--- a/build/includes/website.mk
+++ b/build/includes/website.mk
@@ -59,13 +59,16 @@ site-static-preview:
site-deploy-preview: site-static-preview
$(MAKE) site-deploy SERVICE=preview
-site-test:
- # generate actual html and run test against - provides a more accurate tests
- $(MAKE) test-gen-api-docs
+hugo-test:
$(MAKE) site-static-preview
docker run --rm -t -e "TERM=xterm-256color" $(common_mounts) $(DOCKER_RUN_ARGS) $(build_tag) bash -c \
"mkdir -p /tmp/website && cp -r $(mount_path)/site/public /tmp/website/site && htmltest -c $(mount_path)/site/htmltest.yaml /tmp/website"
+site-test:
+ # generate actual html and run test against - provides a more accurate tests
+ $(MAKE) test-gen-api-docs
+ $(MAKE) hugo-test
+
# generate site images, if they don't exist
site-images: $(site_path)/static/diagrams/gameserver-states.dot.png $(site_path)/static/diagrams/gameserver-lifecycle.puml.png $(site_path)/static/diagrams/gameserver-reserved.puml.png
diff --git a/site/layouts/partials/head.html b/site/layouts/partials/head.html
index 47234f5c2d..76993ab5d1 100644
--- a/site/layouts/partials/head.html
+++ b/site/layouts/partials/head.html
@@ -1,6 +1,6 @@
-{{ .Hugo.Generator }}
+{{ hugo.Generator }}
{{ if eq (getenv "HUGO_ENV") "production" }}
{{ else }}
diff --git a/site/themes/docsy/layouts/partials/head.html b/site/themes/docsy/layouts/partials/head.html
index cb03757207..1c07fa79c0 100644
--- a/site/themes/docsy/layouts/partials/head.html
+++ b/site/themes/docsy/layouts/partials/head.html
@@ -1,6 +1,6 @@
-{{ .Hugo.Generator }}
+{{ hugo.Generator }}
{{ if eq (getenv "HUGO_ENV") "production" }}
{{ else }}