Skip to content

Commit 39430b9

Browse files
PsCustomObjectPsCustomObject
authored andcommitted
Updated google ads code
1 parent 1638154 commit 39430b9

2 files changed

Lines changed: 44 additions & 56 deletions

File tree

_layouts/default.html

Lines changed: 43 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -9,59 +9,47 @@
99
https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE
1010
-->
1111
<html lang="{{ site.locale | slice: 0,2 | default: "en" }}" class="no-js">
12-
<head>
13-
{% include head.html %}
14-
{% include head/custom.html %}
15-
<script data-ad-client="ca-pub-8799681346916578" async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
1612

17-
</head>
18-
19-
<body class="layout--{{ page.layout | default: layout.layout }}{% if page.classes or layout.classes %}{{ page.classes | default: layout.classes | join: ' ' | prepend: ' ' }}{% endif %}">
20-
{% include_cached skip-links.html %}
21-
{% include_cached browser-upgrade.html %}
22-
{% include_cached masthead.html %}
23-
24-
<div class="initial-content">
25-
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
26-
<ins class="adsbygoogle"
27-
style="display:block; text-align:center;"
28-
data-ad-layout="in-article"
29-
data-ad-format="fluid"
30-
data-ad-client="ca-pub-4783349273324132"
31-
data-ad-slot="6689242294"></ins>
32-
<script>
33-
(adsbygoogle = window.adsbygoogle || []).push({});
34-
</script>
35-
36-
{{ content }}
37-
38-
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
39-
<ins class="adsbygoogle"
40-
style="display:block; text-align:center;"
41-
data-ad-layout="in-article"
42-
data-ad-format="fluid"
43-
data-ad-client="ca-pub-4783349273324132"
44-
data-ad-slot="6689242294"></ins>
45-
<script>
46-
(adsbygoogle = window.adsbygoogle || []).push({});
47-
</script>
48-
49-
</div>
50-
51-
{% if site.search == true %}
52-
<div class="search-content">
53-
{% include_cached search/search_form.html %}
54-
</div>
55-
{% endif %}
56-
57-
<div id="footer" class="page__footer">
58-
<footer>
59-
{% include footer/custom.html %}
60-
{% include_cached footer.html %}
61-
</footer>
62-
</div>
63-
64-
{% include scripts.html %}
65-
66-
</body>
67-
</html>
13+
<head>
14+
{% include head.html %}
15+
{% include head/custom.html %}
16+
<script data-ad-client="ca-pub-8799681346916578" async
17+
src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
18+
19+
</head>
20+
21+
<body
22+
class="layout--{{ page.layout | default: layout.layout }}{% if page.classes or layout.classes %}{{ page.classes | default: layout.classes | join: ' ' | prepend: ' ' }}{% endif %}">
23+
{% include_cached skip-links.html %}
24+
{% include_cached browser-upgrade.html %}
25+
{% include_cached masthead.html %}
26+
27+
<script data-ad-client="ca-pub-8799681346916578" async
28+
src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js">
29+
</script>
30+
(adsbygoogle = window.adsbygoogle || []).push({});
31+
</script>
32+
33+
{{ content }}
34+
<script data-ad-client="ca-pub-8799681346916578" async
35+
src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
36+
</div>
37+
38+
{% if site.search == true %}
39+
<div class="search-content">
40+
{% include_cached search/search_form.html %}
41+
</div>
42+
{% endif %}
43+
44+
<div id="footer" class="page__footer">
45+
<footer>
46+
{% include footer/custom.html %}
47+
{% include_cached footer.html %}
48+
</footer>
49+
</div>
50+
51+
{% include scripts.html %}
52+
53+
</body>
54+
55+
</html>

ads.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
google.com, pub-4783349273324132, DIRECT, f08c47fec0942fa0
1+
google.com, pub-8799681346916578, DIRECT, f08c47fec0942fa0

0 commit comments

Comments
 (0)