0.8.27 one article breadcrumbs

This commit is contained in:
SDE
2023-12-03 15:39:52 +03:00
parent 7b70052ff1
commit 747091c744
3 changed files with 3 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
{% load static %}
{% for art in forloop_for %}
{% for art in articles %}
{% include "widgets/w_news_element_item.html" %}
{#<div>{{ art.text|safe }}</div>#}
{% endfor %}

View File

@@ -31,7 +31,7 @@
<div class="block_w_paging">
{% with from_el=3 forloop_for=breadcrumbs_arts %}
{% with from_el=0 articles=breadcrumbs_arts last_el=0 elements_on_page=3 %}
{% include 'blocks/articles/b_news_elements_content.html' %}
{% endwith %}

View File

@@ -32,7 +32,7 @@
</div>
<div class="block_w_paging">
{% with from_el=3 forloop_for=articles %}
{% with from_el=3 %}
{% include 'blocks/articles/b_news_elements_content.html' %}
{% endwith %}
{# boris edited #}