From 4dba99cba09abcf47d760450b8f2ce440f254bc7 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sun, 25 Nov 2018 12:29:22 +0000 Subject: [PATCH] Move matomo to head and don't load in dev --- layouts/_default/baseof.html | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 6edd29f..9d67f55 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -14,6 +14,10 @@ {{ partial "title-item.html" . }}{{ .Site.Title }} {{ partial "metadata.html" . }} + + {{ if .Site.IsServer }} + {{ partial "matomo.html" . }} + {{ end }} {{ partial "navbar.html" . }} @@ -28,8 +32,5 @@ {{ partial "script.html" "js/bootstrap.min.js" }} {{ partial "script.html" "js/mermaid.min.js" }} {{ partial "script.html" "js/app.js" }} - - {{ partial "matomo.html" . }} -