42 lines
1.0 KiB
HTML
42 lines
1.0 KiB
HTML
title = "Поиск"
|
|
url = "/search"
|
|
layout = "cms"
|
|
meta_title = "Поиск"
|
|
meta_description = "Поиск"
|
|
is_hidden = 0
|
|
robot_index = "noindex"
|
|
robot_follow = "nofollow"
|
|
|
|
[viewBag]
|
|
localeTitle[en] = "Search"
|
|
localeMeta_title[en] = "Search"
|
|
localeMeta_description[en] = "Search"
|
|
|
|
[blogPosts]
|
|
pageNumber = "{{ :page }}"
|
|
postsPerPage = 10
|
|
noPostsMessage = "No posts found"
|
|
sortOrder = "published_at desc"
|
|
categoryPage = "category"
|
|
postPage = "post"
|
|
==
|
|
<div class="main__content">
|
|
<div class="heading">
|
|
<div class="heading__title">
|
|
{{'page.search'|_}}
|
|
</div>
|
|
{% for item in blogPosts.posts %}
|
|
{% partial 'post_list_item' post = item %}
|
|
{% else %}
|
|
<p>No posts found</p>
|
|
{% endfor %}
|
|
{% partial 'pagination' items = blogPosts.posts filter = ['q',input('q')]%}
|
|
</div>
|
|
</div>
|
|
<div class="main__sidebar">
|
|
{% partial 'calendar' %}
|
|
{% partial 'tags' %}
|
|
</div>
|
|
{% put scripts %}
|
|
<script src="{{['assets/js/lazy.js','assets/js/main.js']|theme}}"></script>
|
|
{% endput %} |