Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/xianmin/hugo-theme-jane.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-config.toml2
-rw-r--r--layouts/partials/head.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/dev-config.toml b/dev-config.toml
index 612d881..ebf14f4 100644
--- a/dev-config.toml
+++ b/dev-config.toml
@@ -12,7 +12,7 @@ hasCJKLanguage = true # has chinese/japanese/korean ? # 自动检测是否
paginate = 5 # 首页每页显示的文章数
rssLimit = 20 # Limit Entry Count to Rss file # 限制 Rss 文章输出数量
disqusShortname = "xianmin12" # disqus_shortname
-googleAnalytics = "UA-34199129-1" # UA-XXXXXXXX-X
+googleAnalytics = "G-4SFSR6JRVT" # G-********
copyright = "" # default: author.name ↓ # 默认为下面配置的author.name ↓
enableGitInfo = true # use git commit log to generate lastmod record # 可根据 Git 中的提交生成最近更新记录。
# uglyURLs = true
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 41fc462..2932b2f 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -112,7 +112,7 @@
<!-- Analytics -->
{{- if and (not .Site.IsServer) .Site.GoogleAnalytics -}}
- {{ template "_internal/google_analytics_async.html" . }}
+ {{ template "_internal/google_analytics.html" . }}
{{- end -}}
<!-- Custom head -->