Move matomo to head and don't load in dev
This commit is contained in:
parent
faeff0d9ab
commit
4dba99cba0
1 changed files with 4 additions and 3 deletions
|
@ -14,6 +14,10 @@
|
||||||
<title>{{ partial "title-item.html" . }}{{ .Site.Title }}</title>
|
<title>{{ partial "title-item.html" . }}{{ .Site.Title }}</title>
|
||||||
|
|
||||||
{{ partial "metadata.html" . }}
|
{{ partial "metadata.html" . }}
|
||||||
|
|
||||||
|
{{ if .Site.IsServer }}
|
||||||
|
{{ partial "matomo.html" . }}
|
||||||
|
{{ end }}
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
{{ partial "navbar.html" . }}
|
{{ partial "navbar.html" . }}
|
||||||
|
@ -28,8 +32,5 @@
|
||||||
{{ partial "script.html" "js/bootstrap.min.js" }}
|
{{ partial "script.html" "js/bootstrap.min.js" }}
|
||||||
{{ partial "script.html" "js/mermaid.min.js" }}
|
{{ partial "script.html" "js/mermaid.min.js" }}
|
||||||
{{ partial "script.html" "js/app.js" }}
|
{{ partial "script.html" "js/app.js" }}
|
||||||
|
|
||||||
{{ partial "matomo.html" . }}
|
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in a new issue