diff --git a/assets/js/offline-search.js b/assets/js/offline-search.js
index 666a4b45d1..90ae299375 100644
--- a/assets/js/offline-search.js
+++ b/assets/js/offline-search.js
@@ -14,7 +14,7 @@
$searchInput.data('placement', 'bottom');
$searchInput.data(
'template',
- '
'
+ ''
);
//
diff --git a/netlify.toml b/netlify.toml
index a5ed464f48..022a116fff 100644
--- a/netlify.toml
+++ b/netlify.toml
@@ -2,12 +2,14 @@
# (https://gohugo.io/hosting-and-deployment/hosting-on-netlify/#configure-hugo-version-in-netlify)
[build]
-publish = "userguide/public"
-command = "npm run docs-install && npm run build:preview"
+base = "userguide"
+command = "hugo --themesDir ../.."
[build.environment]
-GO_VERSION = "1.19.5"
+NODE_VERSION = "19.6.1"
+HUGO_VERSION = "0.110.0"
+GO_VERSION = "1.20.1"
HUGO_THEME = "repo"
[context.production]
-command = "npm run docs-install && npm run build:production"
+command = "hugo --themesDir ../.."
diff --git a/userguide/package.json b/userguide/package.json
index 0959ac1948..8ef380f3a6 100644
--- a/userguide/package.json
+++ b/userguide/package.json
@@ -21,7 +21,7 @@
"serve": "npm run _serve"
},
"devDependencies": {
- "autoprefixer": "^9.5.0",
- "postcss-cli": "^5.0.1"
+ "autoprefixer": "^10.4.13",
+ "postcss-cli": "^10.1.0"
}
}