Responsive adsense banners on articles

This commit is contained in:
Gustavo 2016-09-14 15:29:46 -03:00
parent e03e8fa3e4
commit c28e2bf4d6
3 changed files with 31 additions and 0 deletions

View file

@ -12,6 +12,10 @@
{% block content %}
<article>
<header>
{% if SHOW_ADSENSE_ARTICLE_TOP %}
{% include "adsense-banner.html" %}
{% endif %}
<h1 id="{{ article.slug }}">{{ article.title }}</h1>
<p>
{{ _('Posted on %(when)s in %(category)s',
@ -26,6 +30,11 @@
<div>
{{ article.content }}
</div>
{% if SHOW_ADSENSE_ARTICLE_BOTTOM %}
{% include "adsense-banner.html" %}
{% endif %}
<div class="tag-cloud">
<p>
{% if article.tags %}