From 5ebe0b0b8d168ce7987d50aced6b23c232bede78 Mon Sep 17 00:00:00 2001
From: weru <fromweru@gmail.com>
Date: Sun, 09 Jul 2023 12:47:24 +0000
Subject: [PATCH] update template

---
 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