-
Notifications
You must be signed in to change notification settings - Fork 55
/
search-ru.json
32 lines (30 loc) · 692 Bytes
/
search-ru.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
---
title: search
layout: none
search: exclude
permalink: ru/search.json
---
[
{% for page in site.pages %}{% if page.lang == "ru" %}{% unless page.search == "exclude" %}
{
"title": "{{ page.title | escape }}",
"tags": "{{ page.tags }}",
"keywords": "{{page.keywords}}",
"url": "{{ page.url }}",
"summary": "{{page.summary | strip | escape }}"
},
{% endunless %}{% endif %}{% endfor %}
{% for post in site.posts %}
{% if post.lang == "ru" %}
{
"title": "{{ post.title | escape }}",
"tags": "{{ post.tags }}",
"keywords": "{{post.keywords}}",
"url": "{{ post.url }}",
"summary": "{{post.summary | strip | escape }}"
}
{% unless forloop.last %},{% endunless %}
{% endif %}
{% endfor %}
{ }
]