diff --git a/templates/blocks/articles/b_news_elements.html b/templates/blocks/articles/b_news_elements.html index 4b57a0e..7c5d901 100644 --- a/templates/blocks/articles/b_news_elements.html +++ b/templates/blocks/articles/b_news_elements.html @@ -1,6 +1,6 @@ {% load static %} -{% for art in articles %} +{% for art in forloop_for %} {% include "widgets/w_news_element_item.html" %} {#
{{ art.text|safe }}
#} {% endfor %} \ No newline at end of file diff --git a/templates/pages/p_article.html b/templates/pages/p_article.html index b650eef..7ceea01 100644 --- a/templates/pages/p_article.html +++ b/templates/pages/p_article.html @@ -12,6 +12,7 @@ +
{{ page.name }}
@@ -29,54 +30,62 @@ -
- {% for item in arts_top %} - - - - -
{{ art.text|safe }}
- {% endfor %} - -
- -
-
{{ page.name }}
-
- {{ page.description|truncatechars:100 }} -
-
- -
- - {% for item in arts_down %} - - - -
{{ art.text|safe }}
- {% endfor %} +
+ {% with from_el=3 forloop_for=breadcrumbs_arts %} + {% include 'blocks/articles/b_news_elements_content.html' %} + {% endwith %}
+{#
#} +{# {% for item in arts_top %}#} +{##} +{##} +{# #} +{##} +{#
{{ art.text|safe }}
#} +{# {% endfor %}#} +{##} +{#
#} +{##} +{#
#} +{#
{{ page.name }}
#} +{#
#} +{# {{ page.description|truncatechars:100 }}#} +{#
#} +{#
#} +{##} +{#
#} +{##} +{# {% for item in arts_down %}#} +{##} +{# #} +{##} +{#
{{ art.text|safe }}
#} +{# {% endfor %}#} +{##} +{#
#} + + diff --git a/templates/pages/p_articles.html b/templates/pages/p_articles.html index ada10c8..db7fc25 100644 --- a/templates/pages/p_articles.html +++ b/templates/pages/p_articles.html @@ -32,7 +32,7 @@
- {% with from_el=3 %} + {% with from_el=3 forloop_for=articles %} {% include 'blocks/articles/b_news_elements_content.html' %} {% endwith %} {# boris edited #}