Merge pull request #75 from nathanbiller/addGoogleAnalytics

Added the ability to use google analytics using Hugo's internal templ…
This commit is contained in:
Stefan M
2019-09-25 08:19:56 +02:00
committed by GitHub
2 changed files with 2 additions and 0 deletions

View File

@@ -2,6 +2,7 @@ baseURL: http://something-fresh.org/
languageCode: en-us languageCode: en-us
title: Hugo Fresh Theme title: Hugo Fresh Theme
theme: hugo-fresh theme: hugo-fresh
googleAnalytics: #Put in your tracking code without quotes like this: UA-XXXXXX...
params: params:
navbarlogo: navbarlogo:

View File

@@ -1,3 +1,4 @@
{{ template "_internal/google_analytics_async.html" . }}
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta http-equiv="x-ua-compatible" content="ie=edge"> <meta http-equiv="x-ua-compatible" content="ie=edge">