diff options
author | peaceiris <30958501+peaceiris@users.noreply.github.com> | 2021-06-15 13:54:28 +0300 |
---|---|---|
committer | peaceiris <30958501+peaceiris@users.noreply.github.com> | 2021-06-15 13:54:28 +0300 |
commit | e78e7e0cf7039d2a383f13efabbc90e1501b2f5a (patch) | |
tree | e143a17bdeed1613514f379d461757de3d1b1bb3 /layouts | |
parent | d68724ad013e02d892d9a4aedd2bb51bdd4726f9 (diff) |
fix: check hugo.Environment
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/partials/check-tools.html | 2 |
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 }} |