From df425a8ab4bd9b7cd72e90e5a4e0c0ea81a49d41 Mon Sep 17 00:00:00 2001
From: jackyzha0 <j.zhao2k19@gmail.com>
Date: Mon, 19 Jul 2021 00:48:26 +0000
Subject: [PATCH] replace readme

---
 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