Hi,
What is the good practice for including a carousel on the homepage. For now, what I've done is simply adding a multiimage promotion block to '/' which is working only if I remove the condition block `if promotions` thatt wrap the call to the promotions_page templatetag in the template 'layout.html'.
in layout.html
{# {% if promotions %}#}
<div id="promotions">
{% for promotion in promotions_page %}
{% render_promotion promotion %}
{% endfor %}
</div>
{# {% endif %}#}
So my question is what is this 'promotions' var in layout.html template for? Does it mean that I have to override HomeView and add to its context a 'promotions' var set to True ?
I really would appreciate any help !