Answer the question
In order to leave comments, you need to log in
Django CMS, there is a piece of HTML in the include, how to include this piece twice on one page and to be able to change different content?
There is a template in the include/skver_cards folder
{% load cms_tags %}
{% load static %}
<div class="cards">
<div class="card__item">
<div class="card__top">
{% placeholder 'card__top_c1' %}
</div>
<div class="card__foot">
{% placeholder 'card__foot_c1' %}
</div>
</div>
.........
</div>
{% include './include/cards.html' %}
<br><br>
{% include './include/cards.html' %}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question