Adsense Banners

This commit is contained in:
gustavofoa 2016-09-17 10:10:20 -03:00
parent 12bf536294
commit b634829548
4 changed files with 48 additions and 17 deletions

View file

@ -37,5 +37,17 @@
</article>
{% endfor %}
{% if ADSENSE.adClientId and ADSENSE.adSlot.homeBottom %}
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<ins class="adsbygoogle"
style="display:block"
data-ad-client="{{ ADSENSE.adClientId }}"
data-ad-slot="{{ ADSENSE.adSlot.homeBottom }}"
data-ad-format="auto"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
{% endif %}
{% include "partial/pagination.html" %}
{% endblock %}