ORIENT/themes/modern2/pages/new/search.htm

41 lines
952 B
HTML
Raw Normal View History

2022-12-19 09:40:00 +00:00
title = "new/search"
url = "/new/search"
layout = "new/master-inside"
is_hidden = 0
robot_index = "index"
robot_follow = "follow"
[blogPosts]
pageNumber = "{{ :page }}"
postsPerPage = 10
noPostsMessage = "No posts found"
sortOrder = "published_at desc"
categoryPage = "blog/category"
postPage = "blog/post"
==
<!-- HEAD end ======== -->
<main class="rubric-main">
<div class="container">
<div class="rubric-inner">
<div class="trending-head">
<h2>{{'page.search'|_}}</h2>
<span></span>
</div>
<div class="rubric-items">
{% for post in blogPosts.posts %}
{% partial 'new/post_list_item' post = post %}
{% else %}
<p>No posts found</p>
{% endfor %}
</div>
{% partial 'new/pagination' items = blogPosts.posts filter = ['q',input('q')] %}
</div>
</div>
</main>