- {% if SHOW_ADSENSE_ARTICLE_TOP %}
- {% include "adsense-banner.html" %}
- {% endif %}
{{ article.title }}
{{ _('Posted on %(when)s in %(category)s',
@@ -31,8 +28,16 @@
{{ article.content }}
- {% if SHOW_ADSENSE_ARTICLE_BOTTOM %}
- {% include "adsense-banner.html" %}
+ {% if ADSENSE.adClientId and ADSENSE.adSlot.articleBottom %}
+
+
+
{% endif %}
diff --git a/templates/base.html b/templates/base.html
index 214ba04..83bed54 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -97,8 +97,34 @@
{% endfor %}
+
+ {% if ADSENSE.adClientId and ADSENSE.adSlot.aside %}
+
+
+
+ {% endif %}
+
+
+ {% if ADSENSE.adClientId and ADSENSE.adSlot.top %}
+
+
+
+ {% endif %}
+
{% if MAIN_MENU %}
{% endfor %}
+{% if ADSENSE.adClientId and ADSENSE.adSlot.homeBottom %}
+
+