From ef396d552debc0860bba2b5fdbd2902839252ac6 Mon Sep 17 00:00:00 2001
From: jackyzha0 <j.zhao2k19@gmail.com>
Date: Sun, 18 Jul 2021 20:46:34 +0000
Subject: [PATCH] bump ga ver
---
layouts/partials/head.html | 9 +++------
1 files changed, 3 insertions(+), 6 deletions(-)
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 2f295e9..e53ebe1 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -1,12 +1,8 @@
<head>
- <link rel="preconnect" href="https://www.googletagmanager.com">
- <link crossorigin rel="preconnect" href="https://www.google-analytics.com">
- {{ template "_internal/google_analytics_async.html" . }}
-
<!-- Meta tags -->
<meta charset="UTF-8">
<meta name="description" content="{{$.Site.Data.config.description}}">
- <title>{{$.Site.Data.config.page_title}}</title>
+ <title>{{ if .Title }}{{ .Title }}{{ else }}{{ $.Site.Data.config.page_title }}{{ end }}</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shortcut icon" type="image/png" href="/icon.png" />
@@ -21,4 +17,5 @@
</style>
{{end}}
{{end}}
-</head>
\ No newline at end of file
+</head>
+{{ template "_internal/google_analytics.html" . }}
\ No newline at end of file
--
Gitblit v1.10.0