1111 {% endif %}
1212 < div class ="description ">
1313 < time datetime =""> {{ article_featured.published_at|date:"j E Y" }}</ time >
14- < h1 > < a {% if not article_featured.is_our %} href ="{{ article_featured.url }} " target ="_blank "{% else %}href =" {% url 'post_page' article_featured.id %} " {% endif %} >
14+ < h1 > < a href ="{{ article_featured.url }} " target ="_blank ">
1515 {{ article_featured.name }}
1616 </ a > </ h1 >
1717 </ div >
1818 </ div >
1919 </ article >
2020
21- {% include 'blocks/news_right_sidebar.html' %}
21+ {# Ближайшие события #}
22+ < section class ="grid-item articles-list ">
23+ < div class ="item-holder ">
24+ < strong class ="title "> Ближайшие события</ strong >
25+ < div class ="articles-holder ">
26+ {% for article in articles_top %}
27+ < article class ="article ">
28+ < time datetime ="{{ event.date|date: " Y-m-d H:m " }}"> {{ article.published_at|date:"j E Y" }}</ time >
29+ < h1 >
30+ < a href ="{{ article.url }} " target ="_blank ">
31+ {{ article.name }}
32+ </ a >
33+ </ h1 >
34+ </ article >
35+ {% endfor %}
36+ </ div >
37+ </ div >
38+ </ section >
39+
40+ {# News right sidebar #}
41+ < section class ="grid-item articles-list ">
42+ < div class ="item-holder ">
43+ < strong class ="title "> Новости</ strong >
44+ < div class ="articles-holder ">
45+ {% for article in articles_top %}
46+ < article class ="article ">
47+ < time datetime ="{{ event.date|date: "Y-m-d H:m " }}"> {{ article.published_at|date:"j E Y" }}</ time >
48+ < h1 > < a href ="{{ article.url }} " target ="_blank ">
49+ {{ article.name }}
50+ </ a > </ h1 >
51+ </ article >
52+ {% endfor %}
53+ </ div >
54+ </ div >
55+ </ section >
2256
2357 {% for article in articles_all %}
2458 < article class ="grid-item ">
@@ -30,15 +64,16 @@ <h1><a {% if not article_featured.is_our %}href="{{ article_featured.url }}" tar
3064 {% endif %}
3165 < div class ="text-holder ">
3266 < time datetime ="{{ event.date|date: "Y-m-d H:m " }}"> {{ article.published_at|date:"j E Y" }}</ time >
33- < h1 > < a {% if not article.is_our %} href ="{{ article.url }} " target ="_blank "{% else %}href =" {% url 'post_page' article.id %} " {% endif %} > {{ article.name }}</ a > </ h1 >
67+ < h1 > < a href ="{{ article.url }} " target ="_blank "> {{ article.name }}</ a > </ h1 >
3468 {{ article.description|safe }}
3569 </ div >
3670 </ div >
3771 </ article >
3872 {% endfor %}
3973 </ div >
74+
4075{# < div class ="btn-holder "> #}
4176{# < a href ="# " class ="btn-default btn-more "> Показать ещё</ a > #}
4277{# </ div > #}
4378 </ div >
44- </ section >
79+ </ section >
0 commit comments