This commit is contained in:
SBD
2023-11-29 17:56:45 +03:00
parent 426071fe15
commit 1124149cf8
2 changed files with 2 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
{% load static %}
{% if not from_el or forloop.counter > from_el %}
<div class="news_item_pagination">
<div class="news_item_pagination {% if forloop.counter|divisibleby:2 %}even{% else %}odd{% endif %}">
<a href="{% url "article_one" art.url %}">
<div class="pag_news_img"><img src="{{ MEDIA_URL }}{{ art.picture }}" /></div>
<div class="pag_news_item_text">