cleanup
This commit is contained in:
49
search.json
49
search.json
@ -1,32 +1,29 @@
|
||||
---
|
||||
title: search
|
||||
layout: none
|
||||
layout: null
|
||||
search: exclude
|
||||
---
|
||||
|
||||
[
|
||||
{% for page in site.pages %}
|
||||
{% unless page.search == "exclude" %}
|
||||
{
|
||||
"title": "{{ page.title | escape }}",
|
||||
"tags": "{{ page.tags }}",
|
||||
"keywords": "{{page.keywords}}",
|
||||
"url": "{{ page.url | prepend: site.baseurl }}",
|
||||
"summary": "{{page.summary | strip }}"
|
||||
},
|
||||
{% endunless %}
|
||||
{% endfor %}
|
||||
{% for page in site.pages %}
|
||||
{% unless page.search == "exclude" %}
|
||||
{
|
||||
"title": "{{ page.title | escape }}",
|
||||
"tags": "{{ page.tags }}",
|
||||
"keywords": "{{ page.keywords }}",
|
||||
"url": "{{ page.url | prepend: site.baseurl }}",
|
||||
"summary": "{{page.summary | strip }}"
|
||||
},
|
||||
{% endunless %}
|
||||
{% endfor %}
|
||||
|
||||
{% for post in site.posts %}
|
||||
|
||||
{
|
||||
"title": "{{ post.title | escape }}",
|
||||
"tags": "{{ post.tags }}",
|
||||
"keywords": "{{post.keywords}}",
|
||||
"url": "{{ post.url | prepend: site.baseurl }}",
|
||||
"summary": "{{post.summary | strip }}"
|
||||
}
|
||||
{% unless forloop.last %},{% endunless %}
|
||||
{% endfor %}
|
||||
|
||||
]
|
||||
{% for post in site.posts %}
|
||||
{
|
||||
"title": "{{ post.title | escape }}",
|
||||
"tags": "{{ post.tags }}",
|
||||
"keywords": "{{ post.keywords }}",
|
||||
"url": "{{ post.url | prepend: site.baseurl }}",
|
||||
"summary": "{{post.summary | strip }}"
|
||||
}
|
||||
{% unless forloop.last %},{% endunless %}
|
||||
{% endfor %}
|
||||
]
|
||||
|
Reference in New Issue
Block a user