diff options
Diffstat (limited to 'layouts/shortcodes/ads.html')
-rw-r--r-- | layouts/shortcodes/ads.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/layouts/shortcodes/ads.html b/layouts/shortcodes/ads.html index 060f461..713ff02 100644 --- a/layouts/shortcodes/ads.html +++ b/layouts/shortcodes/ads.html @@ -1,5 +1,6 @@ {{ with cond $.IsNamedParams ($.Get "slot") "" | default $.Site.Params.Advertising.Google.Slot }} <div class="{{ if $.Get `circuit` | ne false }}cat-cit{{ end }}"> + <div class="no-adb"> <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <ins class="adsbygoogle" style="display:block; text-align:center;" @@ -10,5 +11,6 @@ <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script> + </div> </div> {{ end }}
\ No newline at end of file |