modif search.json
This commit is contained in:
@@ -1,18 +1,14 @@
|
|||||||
---
|
---
|
||||||
layout: compress
|
layout: none
|
||||||
swcache: true
|
|
||||||
---
|
---
|
||||||
|
|
||||||
[
|
[
|
||||||
{% for post in site.posts %}
|
{% for post in site.posts %}
|
||||||
{
|
{
|
||||||
"title": {{ post.title | jsonify }},
|
"title" : "{{ post.title | escape }}",
|
||||||
"url": {{ post.url | relative_url | jsonify }},
|
"categories" : "{{ post.categories }}",
|
||||||
"categories": {{ post.categories | join: ', ' | jsonify }},
|
"tags" : "{{ post.tags | join: ', ' }}",
|
||||||
"tags": {{ post.tags | join: ', ' | jsonify }},
|
"url" : "{{ site.baseurl }}{{ post.url }}",
|
||||||
"date": {{ post.date | jsonify }},
|
"date" : "{{ post.date }}"
|
||||||
{% capture content -%}{% include post-summary.html full_text=true %}{%- endcapture -%}
|
} {% unless forloop.last %},{% endunless %}
|
||||||
"content": {{ content | jsonify }}
|
|
||||||
}{% unless forloop.last %},{% endunless %}
|
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user