From 2522f0f1201086d00c6c3b032bd266856f8ce7c8 Mon Sep 17 00:00:00 2001 From: Mario Zigliotto Date: Wed, 30 Sep 2020 11:35:38 -0700 Subject: [PATCH] feat: update head Close #1852 --- wowchemy/layouts/partials/site_head.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/wowchemy/layouts/partials/site_head.html b/wowchemy/layouts/partials/site_head.html index f653fa63..0be4024e 100644 --- a/wowchemy/layouts/partials/site_head.html +++ b/wowchemy/layouts/partials/site_head.html @@ -3,7 +3,11 @@ - + {{ $is_sponsor := site.Params.i_am_a_sponsor | default false }} + {{ $hide_generator := site.Params.power_ups.hide_generator | default false }} + {{ if not (and $is_sponsor $hide_generator) }} + + {{ end }} {{ $scr := .Scratch }}