Try out google ads for a bit
This commit is contained in:
parent
7170beead4
commit
f45262be89
|
@ -39,7 +39,6 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="markdown" id="post-gallery-wrapper">
|
<div class="markdown" id="post-gallery-wrapper">
|
||||||
{{ partial "content" . }}
|
{{ partial "content" . }}
|
||||||
{{ partial "recommendations.html" . }}
|
|
||||||
</div>
|
</div>
|
||||||
{{ if .Site.Params.share }}
|
{{ if .Site.Params.share }}
|
||||||
<div class="share">
|
<div class="share">
|
||||||
|
@ -51,7 +50,8 @@
|
||||||
<a href="" class="ssk ssk-email"></a>
|
<a href="" class="ssk ssk-email"></a>
|
||||||
<a href="{{ .Permalink }}" class="ssk ssk-link"></a>
|
<a href="{{ .Permalink }}" class="ssk ssk-link"></a>
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
{{ partial "google_ads.html" . }}
|
||||||
{{ if .Site.Params.posts_navigation }}
|
{{ if .Site.Params.posts_navigation }}
|
||||||
<div class="navigation">
|
<div class="navigation">
|
||||||
{{ if .PrevInSection }}
|
{{ if .PrevInSection }}
|
||||||
|
|
|
@ -39,7 +39,6 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="markdown" id="post-gallery-wrapper">
|
<div class="markdown" id="post-gallery-wrapper">
|
||||||
{{ partial "content" . }}
|
{{ partial "content" . }}
|
||||||
{{ partial "recommendations.html" . }}
|
|
||||||
</div>
|
</div>
|
||||||
{{ if .Site.Params.share }}
|
{{ if .Site.Params.share }}
|
||||||
<div class="share">
|
<div class="share">
|
||||||
|
@ -52,6 +51,7 @@
|
||||||
<a href="{{ .Permalink }}" class="ssk ssk-link"></a>
|
<a href="{{ .Permalink }}" class="ssk ssk-link"></a>
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
{{ partial "google_ads.html" . }}
|
||||||
{{ if .Site.Params.posts_navigation }}
|
{{ if .Site.Params.posts_navigation }}
|
||||||
<div class="navigation">
|
<div class="navigation">
|
||||||
{{ if .PrevInSection }}
|
{{ if .PrevInSection }}
|
||||||
|
|
|
@ -708,4 +708,8 @@ section.main .content .share a {
|
||||||
|
|
||||||
#adblock-detected-message {
|
#adblock-detected-message {
|
||||||
display: none;
|
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