Added analytics support (#28)

This commit is contained in:
Michael Noronha
2017-04-16 09:58:56 -05:00
committed by Alexis Tacnet
parent eed502dd45
commit a4392e14dd

View File

@@ -9,9 +9,7 @@
<script src="{{ .Site.BaseURL }}js/progressively.min.js" defer></script> <script src="{{ .Site.BaseURL }}js/progressively.min.js" defer></script>
{{ end }} {{ end }}
{{ if isset .Site.Params "googleanalytics" }} {{ template "_internal/google_analytics_async.html" . }}
{{ template "_internal/google_analytics_async.html" . }}
{{ end }}
<script> <script>
window.onload = function() { window.onload = function() {
@@ -27,3 +25,4 @@
<link href="https://fonts.googleapis.com/css?family=Raleway:400,600,700" rel="stylesheet"> <link href="https://fonts.googleapis.com/css?family=Raleway:400,600,700" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Merriweather:300,300i,700,700i" rel="stylesheet"> <link href="https://fonts.googleapis.com/css?family=Merriweather:300,300i,700,700i" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Ubuntu+Mono:400,700" rel="stylesheet"> <link href="https://fonts.googleapis.com/css?family=Ubuntu+Mono:400,700" rel="stylesheet">