Configure ads.
This commit is contained in:
parent
f684b28dff
commit
cf90fc5ff7
|
@ -1,6 +1,7 @@
|
|||
{% extends "base.html" %}
|
||||
{% block title %}{{ article.title|striptags }}{% endblock %}
|
||||
{% block content %}
|
||||
{% set ads = True %}
|
||||
<section id="content" class="body">
|
||||
<article>
|
||||
<header>
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
{% include 'taglist.html' %}
|
||||
{% import 'translations.html' as translations with context %}
|
||||
{{ translations.translations_for(article) }}
|
||||
|
||||
{% if ads %}
|
||||
<script src="https://sense.framasoft.org/sense3.js" data-sense3="300x250"></script>
|
||||
|
||||
{% endif %}
|
||||
</footer><!-- /.post-info -->
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
{% extends "base.html" %}
|
||||
{% block content_title %}{% endblock %}
|
||||
{% block content %}
|
||||
{% set ads = False %}
|
||||
{% if articles %}
|
||||
{% for article in articles_page.object_list %}
|
||||
|
||||
|
|
Loading…
Reference in New Issue