diff --git a/modules/wowchemy/layouts/partials/landing_page.html b/modules/wowchemy/layouts/partials/landing_page.html index 2af2ceb2..5289970b 100644 --- a/modules/wowchemy/layouts/partials/landing_page.html +++ b/modules/wowchemy/layouts/partials/landing_page.html @@ -5,7 +5,7 @@ {{/* Load Wowchemy blocks */}} {{ range $index, $block := .Params.sections }} {{/* Do not show sections intended only for the demo site. */}} - {{ if or (not $block.demo) ($block.demo | and (eq (os.Getenv "WC_DEMO") true)) }} + {{ if or (not $block.demo) ($block.demo | and (eq (os.Getenv "WC_DEMO") "true")) }} {{ partial "functions/parse_block_v2" (dict "page" $ "block" $block) }} {{ end }} {{ end }}