Skip to content

Commit

Permalink
Add Google Ads to bottom of articles
Browse files Browse the repository at this point in the history
  • Loading branch information
noraworld committed Apr 23, 2021
1 parent 13312d0 commit 6d5ef0b
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions _layouts/article.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,19 @@

<div class="siimple-grid-col siimple-grid-col--9 article">
{{ content }}

<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client={{ site.google_adsense }}"
crossorigin="anonymous"></script>
<!-- Article Bottom -->
<ins class="adsbygoogle"
style="display:block"
data-ad-client="{{ site.google_adsense }}"
data-ad-slot="7439720096"
data-ad-format="auto"
data-full-width-responsive="true"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>

<div class="siimple-grid-col siimple-grid-col--3 sidebar">
Expand Down

0 comments on commit 6d5ef0b

Please sign in to comment.