From 5156d6a7ef53df2b9a0e94472b1552c9ed3e97e2 Mon Sep 17 00:00:00 2001 From: Jason Mayo Date: Thu, 4 Jun 2020 14:51:39 +0100 Subject: [PATCH] Changed way to detect env for robots --- templates/_layout/base.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/_layout/base.twig b/templates/_layout/base.twig index ebbba190..e0152bbe 100755 --- a/templates/_layout/base.twig +++ b/templates/_layout/base.twig @@ -8,7 +8,7 @@ - {% if craft.app.config.general.devMode %} + {% if craft.app.config.env != 'production' %} {% endif %}