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

github.com/aanupam23/hugo-sugoi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraanupam23 <11939280+aanupam23@users.noreply.github.com>2020-07-16 13:43:56 +0300
committeraanupam23 <11939280+aanupam23@users.noreply.github.com>2020-07-16 13:43:56 +0300
commit373c1e7a227144ebb56ec24be098d5ea417d150c (patch)
tree79ae7e5ea32ed1935fedb62b4c92eb3290fa2d3d
parent6be745512a21493b0a030b6c0e1aa09589884a50 (diff)
Fixed setup of GA tags when favicon is not presentfixGA
-rw-r--r--layouts/partials/head.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index d516cbf..742ef9e 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -20,7 +20,8 @@
{{ if .Site.Params.favicon }}
<link rel="shortcut icon" href="/{{ .Site.Params.favicon }}" type="image/png" />
+{{ end }}
+{{ if .Site.GoogleAnalytics }}
{{ template "_internal/google_analytics.html" . }}
-
{{ end }} \ No newline at end of file