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

github.com/peaceiris/hugo-theme-iris.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpeaceiris <30958501+peaceiris@users.noreply.github.com>2021-06-15 13:54:28 +0300
committerpeaceiris <30958501+peaceiris@users.noreply.github.com>2021-06-15 13:54:28 +0300
commite78e7e0cf7039d2a383f13efabbc90e1501b2f5a (patch)
treee143a17bdeed1613514f379d461757de3d1b1bb3 /layouts
parentd68724ad013e02d892d9a4aedd2bb51bdd4726f9 (diff)
fix: check hugo.Environment
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/check-tools.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/check-tools.html b/layouts/partials/check-tools.html
index 7b558956..2de4b1b1 100644
--- a/layouts/partials/check-tools.html
+++ b/layouts/partials/check-tools.html
@@ -1,4 +1,4 @@
-{{ if ne $.Site.Params.hugoenv "production" }}
+{{ if ne hugo.Environment "production" }}
{{ block "checkTools" . }}
{{ end }}
{{ end }}