From c908e2763e2c47d16a913386d92e4ee3a8f1f792 Mon Sep 17 00:00:00 2001 From: Razon Yang Date: Fri, 20 Sep 2024 00:02:17 +0800 Subject: [PATCH] fix: set google_adsense_ad_blocking_detector and google_adsense_ad_blocking_detector_fail_safe as `false` by default --- layouts/partials/google-adsense/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/partials/google-adsense/index.html b/layouts/partials/google-adsense/index.html index eaf131c..461f05d 100644 --- a/layouts/partials/google-adsense/index.html +++ b/layouts/partials/google-adsense/index.html @@ -3,10 +3,10 @@ async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client={{ . }}" crossorigin="anonymous"> - {{- if default true site.Params.google_adsense_ad_blocking_detector }} + {{- if default false site.Params.google_adsense_ad_blocking_detector }} - {{- if default true site.Params.google_adsense_ad_blocking_detector_fail_safe }} + {{- if default false site.Params.google_adsense_ad_blocking_detector_fail_safe }}