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

github.com/reuixiy/hugo-theme-meme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/head.html')
-rw-r--r--layouts/partials/head.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 693792d..2c84fc1 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -108,5 +108,10 @@
{{ partial "third-party/google-adsense-auto.html" . }}
{{- end }}
+ <!-- Yandex.Metrika -->
+ {{ if and .Site.Params.yandexMetrikaId (eq hugo.Environment "production") }}
+ {{ partial "third-party/yandex-metrika.html" . }}
+ {{- end }}
+
{{ partial "custom/head.html" . }}
</head>