Разделение описания в категории товаров

This commit is contained in:
Konstantin
2026-05-30 10:59:19 +03:00
parent fc7ed88ef5
commit 1da999779b
6 changed files with 26 additions and 18 deletions
@@ -71,7 +71,7 @@
<section class="products">
<div class="container-fluid">
{% if description %}
<div class="text mb-4 text-center">{{ description|split("</p>")[0] ~ '</p>' }}</div>
<div class="text mb-4 text-center">{{ description }}</div>
{% endif %}
{% if products %}
<div class="row g-3 product-items">
@@ -90,8 +90,8 @@
</div>
{% endif %}
{% if description %}
<div class="text my-5">{{ description }}</div>
{% if description_bottom %}
<div class="text my-5">{{ description_bottom }}</div>
{% endif %}
{% if not categories and not products %}
<div class="py-4">