Skip to content

Commit 6f93051

Browse files
committed
Modify Adsense banners
1 parent 4473fe6 commit 6f93051

File tree

3 files changed

+59
-11
lines changed

3 files changed

+59
-11
lines changed

docs/_layouts/default.html

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -42,22 +42,23 @@
4242
{% include masthead.html %}
4343
<div class="initial-content">
4444
{{ content }}
45-
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
46-
<div align="center" style="margin: 1em 0;">
47-
<ins class="adsbygoogle"
48-
style="display:block; border-bottom: initial;"
49-
data-ad-client="ca-pub-7328585512091257"
50-
data-ad-slot="3049671934"
51-
data-ad-format="auto"></ins>
52-
</div>
53-
<script>
54-
(adsbygoogle = window.adsbygoogle || []).push({});
55-
</script>
5645
</div>
5746

5847
<div class="search-content">
5948
{% include search-form.html %}
6049
</div>
50+
51+
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
52+
<div style="margin: 1em 0;">
53+
<ins class="adsbygoogle"
54+
style="display:block; border-bottom: initial;"
55+
data-ad-client="ca-pub-7328585512091257"
56+
data-ad-slot="3049671934"
57+
data-ad-format="auto"></ins>
58+
</div>
59+
<script>
60+
(adsbygoogle = window.adsbygoogle || []).push({});
61+
</script>
6162
</div>
6263
</div>
6364

docs/_layouts/page.html

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
layout: default
3+
---
4+
5+
{% include page-intro.html %}
6+
7+
<main id="main" class="page-content" aria-label="Content">
8+
<div class="inner">
9+
<article class="entry-wrap">
10+
<div class="entry-content">
11+
{{ content }}
12+
</div>
13+
<div style="margin: 1em 0;">
14+
<ins class="adsbygoogle"
15+
style="display:block; border-bottom: initial;"
16+
data-ad-client="ca-pub-7328585512091257"
17+
data-ad-slot="3049671934"
18+
data-ad-format="auto"></ins>
19+
</div>
20+
</article>
21+
</div>
22+
</main>

docs/_layouts/post.html

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
layout: default
3+
---
4+
5+
{% include page-intro.html %}
6+
7+
<main id="main" class="page-content" aria-label="Content">
8+
<div class="inner">
9+
<article class="entry-wrap">
10+
<div class="entry-content">
11+
{{ content }}
12+
</div>
13+
<div style="margin: 1em 0;">
14+
<ins class="adsbygoogle"
15+
style="display:block; border-bottom: initial;"
16+
data-ad-client="ca-pub-7328585512091257"
17+
data-ad-slot="3049671934"
18+
data-ad-format="auto"></ins>
19+
</div>
20+
{% if site.disqus.shortname %}
21+
{% include disqus_comments.html %}
22+
{% endif %}
23+
</article>
24+
</div>
25+
</main>

0 commit comments

Comments
 (0)