docs: fix analytics and sitemap
Fixes the Google Analytics tracking ID and restores the production sitemap. Signed-off-by: Tim Jones <tim.jones@siderolabs.com>
This commit is contained in:
parent
55ff876dc6
commit
7ad27751cb
@ -1,13 +1,7 @@
|
|||||||
[build]
|
[build]
|
||||||
|
command = "hugo --source website --gc --minify"
|
||||||
publish = "website/public"
|
publish = "website/public"
|
||||||
|
|
||||||
[build.environment]
|
[build.environment]
|
||||||
BUILD_COMMAND = "hugo --source website --gc --minify"
|
|
||||||
HUGO_VERSION = "0.95.0"
|
HUGO_VERSION = "0.95.0"
|
||||||
NODE_VERSION = "16.13.2"
|
NODE_VERSION = "16.13.2"
|
||||||
|
|
||||||
[context.production]
|
|
||||||
command = "$BUILD_COMMAND --baseURL $URL"
|
|
||||||
|
|
||||||
[context.deploy-preview]
|
|
||||||
command = "$BUILD_COMMAND --baseURL $DEPLOY_PRIME_URL"
|
|
||||||
|
@ -56,7 +56,7 @@ resampleFilter = "CatmullRom"
|
|||||||
[services]
|
[services]
|
||||||
[services.googleAnalytics]
|
[services.googleAnalytics]
|
||||||
# Comment out the next line to disable GA tracking. Also disables the feature described in [params.ui.feedback].
|
# Comment out the next line to disable GA tracking. Also disables the feature described in [params.ui.feedback].
|
||||||
id = "UA-141692582-2"
|
id = "G-F7TDNSY952"
|
||||||
|
|
||||||
[markup]
|
[markup]
|
||||||
[markup.goldmark]
|
[markup.goldmark]
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
{{ if ne $latest_version $current_version }}
|
{{ if ne $latest_version $current_version }}
|
||||||
{{ $latest_doc := partial "doc_latest_version.html" . }}
|
{{ $latest_doc := partial "doc_latest_version.html" . }}
|
||||||
{{ if ne $latest_doc $latest_version }}
|
{{ if ne $latest_doc $latest_version }}
|
||||||
<link rel="canonical" href="{{ $latest_doc | safeURL | absURL }}" />
|
<link rel="canonical" href="https://www.talos.dev{{ $latest_doc | safeURL }}" />
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user