From 8deabf88eb08393226a1273608c7dd8974f10134 Mon Sep 17 00:00:00 2001 From: Albumen Kevin Date: Tue, 28 Jan 2025 22:39:23 +0800 Subject: [PATCH] Add Matomo & Kapa (#3094) --- cn_config.toml | 2 +- config.toml | 2 +- layouts/partials/head.html | 19 +++++++++++++++++++ layouts/partials/scripts.html | 20 ++++++++++++++++++++ 4 files changed, 41 insertions(+), 2 deletions(-) diff --git a/cn_config.toml b/cn_config.toml index e4caa2543a11..e54e457fe05a 100644 --- a/cn_config.toml +++ b/cn_config.toml @@ -171,7 +171,7 @@ github_branch = "master" #gcs_engine_id = "011737558837375720776:fsdu1nryfng" -algolia_docsearch = true +algolia_docsearch = false offlineSearch = false diff --git a/config.toml b/config.toml index e0629f05748a..d08ed93752fd 100644 --- a/config.toml +++ b/config.toml @@ -168,7 +168,7 @@ github_branch = "master" #gcs_engine_id = "011737558837375720776:fsdu1nryfng" -algolia_docsearch = true +algolia_docsearch = false offlineSearch = false prism_syntax_highlighting = true disable_click2copy_chroma = false diff --git a/layouts/partials/head.html b/layouts/partials/head.html index c7a38ddeeeac..541bb2b425f2 100755 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -15,10 +15,29 @@ {{ else }} {{ end }} + + + + + {{ hugo.Generator }} {{ range .AlternativeOutputFormats -}} diff --git a/layouts/partials/scripts.html b/layouts/partials/scripts.html index 9c2dcf8c6c5e..6339d6da34c8 100644 --- a/layouts/partials/scripts.html +++ b/layouts/partials/scripts.html @@ -68,6 +68,26 @@ {{ end }} + + + + +