From f59b40a8e0ee3f4c808ab7b269667ab31c43c34e Mon Sep 17 00:00:00 2001
From: weru <fromweru@gmail.com>
Date: Sun, 09 Jul 2023 16:07:43 +0000
Subject: [PATCH] Merge branch 'master' into #114
---
layouts/partials/opengraph.html | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/layouts/partials/opengraph.html b/layouts/partials/opengraph.html
index 3173936..9b47eba 100644
--- a/layouts/partials/opengraph.html
+++ b/layouts/partials/opengraph.html
@@ -1,6 +1,6 @@
{{- template "_internal/opengraph.html" . -}}
{{- template "_internal/schema.html" . -}}
{{- template "_internal/twitter_cards.html" . -}}
-{{- if eq (getenv "HUGO_ENV") "production" }}
+{{- if hugo.IsProduction }}
{{- template "_internal/google_analytics.html" . }}
{{- end }}
--
Gitblit v1.10.0