Try out google ads for a bit
This commit is contained in:
parent
7170beead4
commit
f45262be89
|
@ -39,7 +39,6 @@
|
|||
</div>
|
||||
<div class="markdown" id="post-gallery-wrapper">
|
||||
{{ partial "content" . }}
|
||||
{{ partial "recommendations.html" . }}
|
||||
</div>
|
||||
{{ if .Site.Params.share }}
|
||||
<div class="share">
|
||||
|
@ -52,6 +51,7 @@
|
|||
<a href="{{ .Permalink }}" class="ssk ssk-link"></a>
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ partial "google_ads.html" . }}
|
||||
{{ if .Site.Params.posts_navigation }}
|
||||
<div class="navigation">
|
||||
{{ if .PrevInSection }}
|
||||
|
|
|
@ -39,7 +39,6 @@
|
|||
</div>
|
||||
<div class="markdown" id="post-gallery-wrapper">
|
||||
{{ partial "content" . }}
|
||||
{{ partial "recommendations.html" . }}
|
||||
</div>
|
||||
{{ if .Site.Params.share }}
|
||||
<div class="share">
|
||||
|
@ -52,6 +51,7 @@
|
|||
<a href="{{ .Permalink }}" class="ssk ssk-link"></a>
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ partial "google_ads.html" . }}
|
||||
{{ if .Site.Params.posts_navigation }}
|
||||
<div class="navigation">
|
||||
{{ if .PrevInSection }}
|
||||
|
|
|
@ -709,3 +709,7 @@ section.main .content .share a {
|
|||
#adblock-detected-message {
|
||||
display: none;
|
||||
}
|
||||
|
||||
ins.adsbygoogle {
|
||||
margin-left: -25px;
|
||||
}
|
19
themes/cocoa-eh/layouts/partials/google_ads.html
Normal file
19
themes/cocoa-eh/layouts/partials/google_ads.html
Normal file
|
@ -0,0 +1,19 @@
|
|||
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
|
||||
<ins class="adsbygoogle"
|
||||
style="display:inline-block;width:728px;height:90px"
|
||||
data-ad-client="ca-pub-3608254413121497"
|
||||
data-ad-slot="1454616977" data-ad-test="on"></ins>
|
||||
<script>
|
||||
(adsbygoogle = window.adsbygoogle || []).push({});
|
||||
</script>
|
||||
|
||||
<div id="adblock-detected-message">
|
||||
<p>
|
||||
If you're seeing this message you've probably enabled some form of adblocker. I respect that.
|
||||
</p>
|
||||
<p>
|
||||
I use this space to show recommended books on Amazon.com in relation to
|
||||
the post you just read. This generates a small income that allows me to buy a
|
||||
book every now and then.
|
||||
</p>
|
||||
</div>
|
Loading…
Reference in New Issue
Block a user