mirror of
https://github.com/Noettore/cocoa-eh-hugo-theme.git
synced 2025-10-15 11:46: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>
|
||||
{{ end }}
|
||||
|
||||
{{ if isset .Site.Params "googleanalytics" }}
|
||||
{{ template "_internal/google_analytics.html" . }}
|
||||
{{ end }}
|
||||
|
||||
<script>
|
||||
window.onload = function() {
|
||||
{{ if .Site.Params.highlightjs }}
|
||||
|
Reference in New Issue
Block a user