Skip to content

Commit e9930a7

Browse files
authored
Update layout.html
Trying out adsense (would like to be able to cover the costs of the service)
1 parent d3afdca commit e9930a7

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

views/layout.html

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,19 @@
6969
{{/adverts.top}}
7070
{{/adverts.bottom}}
7171
{{/adverts.hide}}
72+
{{#mcapi.enableAdsense}}
73+
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
74+
<!-- Top Ad Box -->
75+
<ins class="adsbygoogle"
76+
style="display:block"
77+
data-ad-client="ca-pub-4442711375881628"
78+
data-ad-slot="7221281726"
79+
data-ad-format="auto"></ins>
80+
<script>
81+
(adsbygoogle = window.adsbygoogle || []).push({});
82+
</script>
83+
{[/mcapi.enableAdsense}}
7284
</div>
7385
{{> footer }}
7486
</body>
75-
</html>
87+
</html>

0 commit comments

Comments
 (0)