Skip to content

Commit 6be17c3

Browse files
authored
Update layout.html
Fixed my typo and added a top ad?
1 parent e9930a7 commit 6be17c3

1 file changed

Lines changed: 15 additions & 3 deletions

File tree

views/layout.html

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,18 @@
2828
</div>
2929
</nav>
3030
<div class="container">
31+
{{#mcapi.enableAdsense}}
32+
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
33+
<!-- Top Ad Box -->
34+
<ins class="adsbygoogle"
35+
style="display:block"
36+
data-ad-client="ca-pub-4442711375881628"
37+
data-ad-slot="7221281726"
38+
data-ad-format="auto"></ins>
39+
<script>
40+
(adsbygoogle = window.adsbygoogle || []).push({});
41+
</script>
42+
{{/mcapi.enableAdsense}}
3143
{{^adverts.hide}}
3244
{{#adverts.top}}
3345
<div class="campaign-top">
@@ -71,16 +83,16 @@
7183
{{/adverts.hide}}
7284
{{#mcapi.enableAdsense}}
7385
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
74-
<!-- Top Ad Box -->
86+
<!-- Bottom Ad Box -->
7587
<ins class="adsbygoogle"
7688
style="display:block"
7789
data-ad-client="ca-pub-4442711375881628"
78-
data-ad-slot="7221281726"
90+
data-ad-slot="4758769917"
7991
data-ad-format="auto"></ins>
8092
<script>
8193
(adsbygoogle = window.adsbygoogle || []).push({});
8294
</script>
83-
{[/mcapi.enableAdsense}}
95+
{{/mcapi.enableAdsense}}
8496
</div>
8597
{{> footer }}
8698
</body>

0 commit comments

Comments
 (0)