Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/vjeantet/hugo-theme-docport.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvjeantet <valere.jeantet@gmail.com>2020-09-06 22:42:03 +0300
committervjeantet <valere.jeantet@gmail.com>2020-09-06 22:42:03 +0300
commitb4f0e0e7b5483ac0691bebd72deaeec0af71838c (patch)
treef43b770d64fd79af3250191490b84f600fc4f810 /layouts/partials
parent9b1b58fb168e338a34c23c09e234274e8dda5d90 (diff)
user Google Analytics only when set in configuration
Diffstat (limited to 'layouts/partials')
-rw-r--r--layouts/partials/html-head.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/layouts/partials/html-head.html b/layouts/partials/html-head.html
index e2c46bf..41b0143 100644
--- a/layouts/partials/html-head.html
+++ b/layouts/partials/html-head.html
@@ -62,5 +62,9 @@ i.expand_more:before {
var baseurl = "{{.Site.BaseURL}}";
</script>
+
+{{ template "_internal/google_analytics.html" . }}
+
+
{{- partial "head.html" . }}