diff --git a/qdrant-landing/package-lock.json b/qdrant-landing/package-lock.json index 9783cc004..0f8181fef 100644 --- a/qdrant-landing/package-lock.json +++ b/qdrant-landing/package-lock.json @@ -2378,10 +2378,11 @@ } }, "node_modules/cross-spawn": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", - "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", + "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", "dev": true, + "license": "MIT", "dependencies": { "path-key": "^3.1.0", "shebang-command": "^2.0.0", diff --git a/qdrant-landing/themes/qdrant-2024/layouts/partials/js-head.html b/qdrant-landing/themes/qdrant-2024/layouts/partials/js-head.html index c92d332ff..a0a79ecbd 100644 --- a/qdrant-landing/themes/qdrant-2024/layouts/partials/js-head.html +++ b/qdrant-landing/themes/qdrant-2024/layouts/partials/js-head.html @@ -1,11 +1,11 @@ {{ if hugo.IsProduction }} - {{ if .Site.GoogleAnalytics }} - + {{ if .Site.Config.Services.GoogleAnalytics.ID }} + {{ end }} @@ -38,6 +38,6 @@ {{ if .Site.Params.segmentWriteKey }} - {{ $segmentJs := resources.Get "js/segment-setup.js" | js.Build (dict "params" (dict "segmentWriteKey" .Site.Params.segmentWriteKey "gaMeasurementId" .Site.GoogleAnalytics)) | minify | resources.Fingerprint "sha512" }} + {{ $segmentJs := resources.Get "js/segment-setup.js" | js.Build (dict "params" (dict "segmentWriteKey" .Site.Params.segmentWriteKey "gaMeasurementId" .Site.Config.Services.GoogleAnalytics.ID)) | minify | resources.Fingerprint "sha512" }} {{ end }} diff --git a/qdrant-landing/themes/qdrant/layouts/partials/head.html b/qdrant-landing/themes/qdrant/layouts/partials/head.html index eda9d4867..aae866522 100644 --- a/qdrant-landing/themes/qdrant/layouts/partials/head.html +++ b/qdrant-landing/themes/qdrant/layouts/partials/head.html @@ -36,13 +36,13 @@ {{ if hugo.IsProduction }} - {{ if .Site.GoogleAnalytics }} - + {{ if .Site.Config.Services.GoogleAnalytics.ID }} + {{ end }} diff --git a/qdrant-landing/themes/qdrant/layouts/partials/table_of_content.html b/qdrant-landing/themes/qdrant/layouts/partials/table_of_content.html index 35353c58b..6b96ccba3 100644 --- a/qdrant-landing/themes/qdrant/layouts/partials/table_of_content.html +++ b/qdrant-landing/themes/qdrant/layouts/partials/table_of_content.html @@ -21,7 +21,7 @@
Table of contents
- {{ if (and (not .Params.hide_feedback) (.Site.Params.feedback.enable) (.Site.GoogleAnalytics)) }} + {{ if (and (not .Params.hide_feedback) (.Site.Params.feedback.enable) (.Site.Config.Services.GoogleAnalytics.ID)) }} {{ partial "feedback.html" . -}} {{ end }}