aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri@ouroboros.rocks>2019-10-06 21:50:05 +0200
committerDimitri Staessens <dimitri@ouroboros.rocks>2019-10-06 21:50:05 +0200
commitfd3f32b8b435803b7c0ecb6603b9f014b519f37d (patch)
treebfaabc2b3fec24075adf355eb406e0d407e21c12
parent62d576e1e5cf9860ce0a6cbf0d96975bef602835 (diff)
downloadwebsite-fd3f32b8b435803b7c0ecb6603b9f014b519f37d.tar.gz
website-fd3f32b8b435803b7c0ecb6603b9f014b519f37d.zip
theme: Enable matomo
-rw-r--r--themes/docsy/layouts/partials/head.html6
1 files changed, 0 insertions, 6 deletions
diff --git a/themes/docsy/layouts/partials/head.html b/themes/docsy/layouts/partials/head.html
index b4b707f..84301be 100644
--- a/themes/docsy/layouts/partials/head.html
+++ b/themes/docsy/layouts/partials/head.html
@@ -1,11 +1,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
{{ hugo.Generator }}
-{{ if eq (getenv "HUGO_ENV") "production" }}
<META NAME="ROBOTS" CONTENT="INDEX, FOLLOW">
-{{ else }}
-<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
-{{ end }}
{{ range .AlternativeOutputFormats -}}
<link rel="{{ .Rel }}" type="{{ .MediaType.Type }}" href="{{ .Permalink | safeURL }}">
{{ end -}}
@@ -15,9 +11,7 @@
{{- template "_internal/google_news.html" . -}}
{{- template "_internal/schema.html" . -}}
{{- template "_internal/twitter_cards.html" . -}}
-{{ if eq (getenv "HUGO_ENV") "production" }}
{{ partial "matomo/analytics.html" . }}
-{{ end }}
{{ partialCached "head-css.html" . "asdf" }}
<script
src="https://code.jquery.com/jquery-3.3.1.min.js"