ORIENT/themes/modern2/partials/newHome/right-sidebar.htm

73 lines
2.0 KiB
HTML
Raw Normal View History

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"
2023-03-23 09:47:46 +00:00
sortOrder = "published_at desc"
2022-12-06 15:33:01 +00:00
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"
2022-12-29 11:38:21 +00:00
sortOrder = "created_at desc"
2022-12-06 15:33:01 +00:00
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">
2022-12-16 06:59:28 +00:00
<h2 class="aside-title">{{ 'page.latest_news'|_ }}</h2>
2022-12-06 15:33:01 +00:00
<div class="aside-btns">
2022-12-16 06:59:28 +00:00
<button type="button" class="news-local news-btn active">{{'new.in.turkmenistan'|_}}</button>
<button type="button" class="news-global news-btn">{{'new.in.the.world'|_}}</button>
2022-12-06 15:33:01 +00:00
</div>
<div class="aside-content local active">
{% for post in turkmenPosts %}
{% partial 'newHome/right-sidebar-post-item' post=post %}
{% endfor %}
2025-01-27 12:52:14 +00:00
<a href="/posts/news" class="aside-content-more">
2022-12-16 06:59:28 +00:00
<span>{{'new.read.more'|_}}</span>
2022-12-06 15:33:01 +00:00
<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 %}
2025-01-27 12:52:14 +00:00
<a href="/posts/news" class="aside-content-more">
2022-12-16 06:59:28 +00:00
<span>{{'new.read.more'|_}}</span>
2022-12-06 15:33:01 +00:00
<div class="aside-content-more-img">
<img src="{{'assets/new/icons/arrow-right-black.svg'|theme}}" alt="" />
</div>
</a>
</div>
</div>
2023-02-09 12:33:49 +00:00
2024-05-14 10:05:45 +00:00
{% partial 'adv/right-sidebar2' css="aside" groupId="17" %}
2023-02-09 12:33:49 +00:00
2022-12-06 15:33:01 +00:00
</aside>
</div>