Modify Adsense banners

This commit is contained in:
Michael Rose 2021-06-07 16:51:43 -04:00
parent 4473fe6b8e
commit 6f93051f2b
3 changed files with 59 additions and 11 deletions

View File

@ -42,22 +42,23 @@
{% include masthead.html %} {% include masthead.html %}
<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;">
<ins class="adsbygoogle"
style="display:block; border-bottom: initial;"
data-ad-client="ca-pub-7328585512091257"
data-ad-slot="3049671934"
data-ad-format="auto"></ins>
</div>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div> </div>
<div class="search-content"> <div class="search-content">
{% include search-form.html %} {% include search-form.html %}
</div> </div>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<div style="margin: 1em 0;">
<ins class="adsbygoogle"
style="display:block; border-bottom: initial;"
data-ad-client="ca-pub-7328585512091257"
data-ad-slot="3049671934"
data-ad-format="auto"></ins>
</div>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div> </div>
</div> </div>

22
docs/_layouts/page.html Normal file
View File

@ -0,0 +1,22 @@
---
layout: default
---
{% include page-intro.html %}
<main id="main" class="page-content" aria-label="Content">
<div class="inner">
<article class="entry-wrap">
<div class="entry-content">
{{ content }}
</div>
<div style="margin: 1em 0;">
<ins class="adsbygoogle"
style="display:block; border-bottom: initial;"
data-ad-client="ca-pub-7328585512091257"
data-ad-slot="3049671934"
data-ad-format="auto"></ins>
</div>
</article>
</div>
</main>

25
docs/_layouts/post.html Normal file
View File

@ -0,0 +1,25 @@
---
layout: default
---
{% include page-intro.html %}
<main id="main" class="page-content" aria-label="Content">
<div class="inner">
<article class="entry-wrap">
<div class="entry-content">
{{ content }}
</div>
<div style="margin: 1em 0;">
<ins class="adsbygoogle"
style="display:block; border-bottom: initial;"
data-ad-client="ca-pub-7328585512091257"
data-ad-slot="3049671934"
data-ad-format="auto"></ins>
</div>
{% if site.disqus.shortname %}
{% include disqus_comments.html %}
{% endif %}
</article>
</div>
</main>