diff options
author | uPagge <git@upagge.ru> | 2021-01-21 00:59:10 +0300 |
---|---|---|
committer | uPagge <git@upagge.ru> | 2021-01-21 00:59:10 +0300 |
commit | 5295b3ebd32977bdd6e2efcc03d1697b5570a680 (patch) | |
tree | 5a8a3e3ec07f4a88ba5680e5f33d3ef4f6b1a6b5 /layouts/shortcodes | |
parent | 62f3cf794df43f3e7ef3cb3ddd45619f60beea15 (diff) |
test ads
Diffstat (limited to 'layouts/shortcodes')
-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 |