Disable auto ads

This commit is contained in:
Michael Rose 2021-06-07 08:20:47 -04:00 committed by GitHub
parent b4b8369f5b
commit 1f0746f2d5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,7 +12,6 @@
<head> <head>
{% include head.html %} {% include head.html %}
{% include head/custom.html %} {% include head/custom.html %}
<script data-ad-client="ca-pub-7328585512091257" async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
</head> </head>
<body class="layout--{{ page.layout | default: layout.layout }}{% if page.classes or layout.classes %}{{ page.classes | default: layout.classes | join: ' ' | prepend: ' ' }}{% endif %}"> <body class="layout--{{ page.layout | default: layout.layout }}{% if page.classes or layout.classes %}{{ page.classes | default: layout.classes | join: ' ' | prepend: ' ' }}{% endif %}">
@ -22,16 +21,15 @@
<div class="initial-content"> <div class="initial-content">
{{ content }} {{ content }}
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<div align="center" style="margin: 1em 0;"> <div align="center" style="margin: 1em 0;">
<ins class="adsbygoogle" <ins class="adsbygoogle"
style="display:block; border-bottom: initial;" style="display:block; border-bottom: initial;"
data-ad-client="ca-pub-7328585512091257" data-ad-client="ca-pub-7328585512091257"
data-ad-slot="3049671934" data-ad-slot="3049671934"
data-ad-format="auto"></ins> data-ad-format="auto"></ins>
</div> </div>
<script> <script>(adsbygoogle = window.adsbygoogle || []).push({});</script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div> </div>
{% if site.search == true %} {% if site.search == true %}