33 Zeilen
664 B
JSON
33 Zeilen
664 B
JSON
---
|
|
title: search
|
|
layout: none
|
|
search: exclude
|
|
---
|
|
|
|
[
|
|
{% for page in site.pages %}
|
|
{% unless page.search == "exclude" %}
|
|
{
|
|
"title": "{{ page.title | escape }}",
|
|
"tags": "{{ page.tags }}",
|
|
"keywords": "{{page.keywords}}",
|
|
"url": "{{ page.url | remove: "/"}}",
|
|
"summary": "{{page.summary | strip }}"
|
|
}
|
|
{% unless forloop.last and site.posts.size < 1 %},{% endunless %}
|
|
{% endunless %}
|
|
{% endfor %}
|
|
|
|
{% for post in site.posts %}
|
|
|
|
{
|
|
"title": "{{ post.title | escape }}",
|
|
"tags": "{{ post.tags }}",
|
|
"keywords": "{{post.keywords}}",
|
|
"url": "{{ post.url | remove: "/" }}",
|
|
"summary": "{{post.summary | strip }}"
|
|
}
|
|
{% unless forloop.last %},{% endunless %}
|
|
{% endfor %}
|
|
|
|
]
|