Merge pull request #75 from nathanbiller/addGoogleAnalytics
Added the ability to use google analytics using Hugo's internal templ…
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
@@ -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">
|
||||||
Reference in New Issue
Block a user