Added analytics support

This commit is contained in:
Michael Noronha
2017-04-02 11:15:30 -05:00
committed by Alexis Tacnet
parent 74bafff89d
commit a8f15571da

View File

@@ -9,6 +9,10 @@
<script src="{{ .Site.BaseURL }}js/progressively.min.js" defer></script>
{{ end }}
{{ if isset .Site.Params "googleanalytics" }}
{{ template "_internal/google_analytics.html" . }}
{{ end }}
<script>
window.onload = function() {
{{ if .Site.Params.highlightjs }}
@@ -18,4 +22,4 @@
progressively.init({delay: 30, throttle: 50});
{{ end }}
};
</script>
</script>