logo和配置修改

This commit is contained in:
谢宇宁
2026-09-23 16:50:34 +07:00
parent bef9f8b4ed
commit 0db8087765
163 changed files with 393 additions and 20366 deletions
+2 -4
View File
@@ -48,9 +48,8 @@ func TestMainSiteKeepsMainVerificationAndAnalytics(t *testing.T) {
func renderSEOCommonForTrackingTest(t *testing.T, isNavPage bool) string {
t.Helper()
tpl, err := template.New("tracking-test").Funcs(template.FuncMap{
"InTrackerAppId": func() string { return "test-app" },
"jsonStr": func(any) template.JS { return template.JS(`""`) },
}).ParseFiles("../templates/base/seoCommon.html", "../templates/base/trackerInit.html")
}).ParseFiles("../templates/base/seoCommon.html", "../templates/base/analytics.html")
if err != nil {
t.Fatal(err)
}
@@ -58,8 +57,7 @@ func renderSEOCommonForTrackingTest(t *testing.T, isNavPage bool) string {
"isNavPage": isNavPage,
"seoVerify": map[string]any{"Baidu": ""},
"appConfig": map[string]any{
"ReportSDKConfig": "",
"SeoInfo": map[string]any{"WebSiteName": ""},
"SeoInfo": map[string]any{"WebSiteName": ""},
},
}
var out bytes.Buffer