ORIENT/themes/modern2/partials/new/latest-news-mobile.htm

44 lines
1.1 KiB
HTML
Raw Normal View History

2022-12-23 09:55:31 +00:00
[viewBag]
[blogPosts]
pageNumber = "{{ :page }}"
2023-02-17 06:39:53 +00:00
typePost = "turkmenistan, world"
2022-12-25 12:30:38 +00:00
postsPerPage = 10
2022-12-23 09:55:31 +00:00
noPostsMessage = "No posts found"
2022-12-29 11:38:21 +00:00
sortOrder = "created_at desc"
2022-12-23 09:55:31 +00:00
categoryPage = 404
postPage = 404
2023-02-13 16:15:38 +00:00
==
2023-02-17 06:39:53 +00:00
{% set posts = blogPosts.posts %}
2022-12-23 09:55:31 +00:00
<!-- ASIDE MOBILE ============-->
<section class="aside-mobile">
<div class="aside-mobile-out"></div>
<div class="aside-mobile-inner">
<h2 class="aside-mobile-header">{{ 'page.latest_news'|_ }}</h2>
<ul class="aside-mobile-items">
2023-02-17 06:39:53 +00:00
2022-12-23 09:55:31 +00:00
{% for post in posts %}
2023-02-17 06:39:53 +00:00
2022-12-23 09:55:31 +00:00
<li>
<a href="{{'new/newPost'|page({id:post.id,slug:post.slug})}}">
<div class="time">{{post.published_at|date('H:i')}}</div>
<p class="content">
{{ post.title }}
</p>
</a>
</li>
2023-02-17 06:39:53 +00:00
2022-12-23 09:55:31 +00:00
{% endfor %}
2022-12-29 11:38:21 +00:00
<li>
2025-01-27 12:52:14 +00:00
<a href="/posts/news" class="aside-mobile-more">{{'new.read.more'|_}}</a>
2022-12-29 11:38:21 +00:00
</li>
2022-12-23 09:55:31 +00:00
</ul>
<button type="button" class="aside-mobile-open">
<img src="{{'assets/new/images/down-arrow.png'|theme}}" alt="" />
</button>
</div>
</section>
2025-01-27 12:52:14 +00:00
<!-- ASIDE MOBILE end ============ -->