Enable Google Analytics in index.html

Signed-off-by: hossainemruz <emruz@appscode.com>
This commit is contained in:
hossainemruz 2020-06-05 23:18:42 +06:00
parent 47a070b45f
commit 769fdea9b8

View file

@ -13,6 +13,11 @@
<link rel="stylesheet" href="/assets/css/projects.css" />
<link rel="stylesheet" href="/assets/css/recent-posts.css" />
<link rel="stylesheet" href="/assets/css/achievements.css" />
<!-- Add Google Analytics if enabled in configuration -->
{{ if .Site.GoogleAnalytics }}
{{ template "_internal/google_analytics_async.html" . }}
{{ end }}
</head>
<body data-spy="scroll" data-target="#top-navbar" data-offset="50">
<!--- NAVBAR ------------------------->