2022-12-06 15:33:01 +00:00
|
|
|
|
[viewBag]
|
|
|
|
|
|
|
|
|
|
|
|
[blogPosts turkmenistan]
|
|
|
|
|
|
pageNumber = "{{ :page }}"
|
2022-12-14 15:55:13 +00:00
|
|
|
|
typePost = "turkmenistan"
|
2022-12-06 15:33:01 +00:00
|
|
|
|
postsPerPage = 6
|
|
|
|
|
|
noPostsMessage = "No posts found"
|
|
|
|
|
|
sortOrder = "published_at desc"
|
|
|
|
|
|
categoryPage = 404
|
|
|
|
|
|
postPage = 404
|
2022-12-14 15:55:13 +00:00
|
|
|
|
exceptPost = "{{ :id }}"
|
2022-12-06 15:33:01 +00:00
|
|
|
|
|
|
|
|
|
|
[blogPosts world]
|
|
|
|
|
|
pageNumber = "{{ :page }}"
|
2022-12-14 15:55:13 +00:00
|
|
|
|
typePost = "world"
|
2022-12-06 15:33:01 +00:00
|
|
|
|
postsPerPage = 6
|
|
|
|
|
|
noPostsMessage = "No posts found"
|
|
|
|
|
|
sortOrder = "published_at desc"
|
|
|
|
|
|
categoryPage = 404
|
|
|
|
|
|
postPage = 404
|
2022-12-14 15:55:13 +00:00
|
|
|
|
exceptPost = "{{ :id }}"
|
2022-12-06 15:33:01 +00:00
|
|
|
|
==
|
|
|
|
|
|
{% set turkmenPosts = turkmenistan.posts %}
|
|
|
|
|
|
{% set worldPosts = world.posts %}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="container aside-container">
|
2022-12-14 15:55:13 +00:00
|
|
|
|
<aside class="aside {{ class }}">
|
2022-12-06 15:33:01 +00:00
|
|
|
|
<div class="aside-content-wrapper">
|
|
|
|
|
|
<h2 class="aside-title">Последние новости</h2>
|
|
|
|
|
|
<div class="aside-btns">
|
|
|
|
|
|
<button type="button" class="news-local news-btn active">В Туркменистане</button>
|
|
|
|
|
|
<button type="button" class="news-global news-btn">В Мире</button>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="aside-content local active">
|
|
|
|
|
|
|
|
|
|
|
|
{% for post in turkmenPosts %}
|
|
|
|
|
|
|
|
|
|
|
|
{% partial 'newHome/right-sidebar-post-item' post=post %}
|
|
|
|
|
|
|
|
|
|
|
|
{% endfor %}
|
|
|
|
|
|
|
2022-12-14 15:55:13 +00:00
|
|
|
|
<a href="/new/typePost/turkmenistan" class="aside-content-more">
|
2022-12-06 15:33:01 +00:00
|
|
|
|
<span>Читать больше</span>
|
|
|
|
|
|
<div class="aside-content-more-img">
|
|
|
|
|
|
<img src="{{'assets/new/icons/arrow-right-black.svg'|theme}}" alt="" />
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</a>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="aside-content global">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{% for post in worldPosts %}
|
|
|
|
|
|
|
|
|
|
|
|
{% partial 'newHome/right-sidebar-post-item' post=post %}
|
|
|
|
|
|
|
|
|
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-12-14 15:55:13 +00:00
|
|
|
|
<a href="/new/typePost/world" class="aside-content-more">
|
2022-12-06 15:33:01 +00:00
|
|
|
|
<span>Читать больше</span>
|
|
|
|
|
|
<div class="aside-content-more-img">
|
|
|
|
|
|
<img src="{{'assets/new/icons/arrow-right-black.svg'|theme}}" alt="" />
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</a>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<div class="aside-ad-wrapper">
|
|
|
|
|
|
<a href="#">
|
|
|
|
|
|
<img src="{{'assets/new/images/aside-ad.jpg'|theme}}" alt="" />
|
|
|
|
|
|
</a>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</aside>
|
|
|
|
|
|
</div>
|