mirror of
https://github.com/Noettore/cocoa-eh-hugo-theme.git
synced 2025-10-15 19:56:41 +02:00
Added analytics support
This commit is contained in:

committed by
Alexis Tacnet

parent
74bafff89d
commit
a8f15571da
@@ -9,6 +9,10 @@
|
|||||||
<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.html" . }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
window.onload = function() {
|
window.onload = function() {
|
||||||
{{ if .Site.Params.highlightjs }}
|
{{ if .Site.Params.highlightjs }}
|
||||||
|
Reference in New Issue
Block a user