brouilleursdeblanc/search.json

26 lines
755 B
JSON
Raw Normal View History

2013-09-11 16:12:08 +00:00
---
sitemap: false
2013-09-11 16:12:08 +00:00
---
2013-09-11 16:12:08 +00:00
[
{% for post in site.posts %}
{% if post.title != null and post.title != empty and post.search_omit != true %}
{% if forloop.index > 1 %},{% endif %}{
"title" : {{ post.title | jsonify }},
"link" : "{{ site.url }}{{ post.url }}",
"excerpt" : "{{ post.excerpt }}"
}
{% endif %}
{% endfor %}
{% for page in site.pages %}
{% if page.layout != 'none' and page.layout != 'none' and page.title != null and page.title != empty and page.search_omit != true %}
{% if forloop.index > 1 %},{% endif %}{
"title" : {{ page.title | jsonify }},
"link" : "{{ site.url }}{{ page.url | replace: 'index.html', '' }}",
"excerpt" : "{{ page.excerpt }}"
}
{%endif%}
{% endfor %}
]