diff --git a/content/about.md b/content/about.md index 4534fd5..f0947dc 100644 --- a/content/about.md +++ b/content/about.md @@ -2,7 +2,7 @@ title: 关于本站 linkTitle: 关于 description: 关于 Transfeminine Science 以及中文译本存档站的详情 -trackHash: 3b8aec69d9ff0fe9aee4de5969d7dbaead1ddaa5 +trackHash: c17ddbc53fcd09bfbdc87887cbb4dd94e778dc48 aliases: /about weight: 4 --- diff --git a/themes/tfsci/layouts/partials/head/google-analytics.html b/themes/tfsci/layouts/partials/head/google-analytics.html index 8895b91..dfdf061 100644 --- a/themes/tfsci/layouts/partials/head/google-analytics.html +++ b/themes/tfsci/layouts/partials/head/google-analytics.html @@ -1,4 +1,4 @@ -{{- $defines := dict "MEASUREMENT_ID" (jsonify .Site.GoogleAnalytics) -}} +{{- $defines := dict "MEASUREMENT_ID" (jsonify .Site.Config.Services.GoogleAnalytics.ID) -}} {{- $page := . -}} {{- with resources.Get "gtag.ts" | js.Build (dict "defines" $defines) | minify | fingerprint }}