a new start
This commit is contained in:
18
search.json
Executable file
18
search.json
Executable file
@@ -0,0 +1,18 @@
|
||||
---
|
||||
layout: null
|
||||
---
|
||||
[
|
||||
{% for post in site.posts %}
|
||||
{
|
||||
"id" : "{{ post.url }}",
|
||||
"title" : "{{ post.title | escape }}",
|
||||
"description" : "{{ post.description | escape }}",
|
||||
"category" : "{{ post.categories | array_to_sentence_string }}",
|
||||
"tags" : "{{ post.tags | array_to_sentence_string }}",
|
||||
"url" : "{{ site.baseurl }}{{ post.url }}",
|
||||
"image" : "{{ site.baseurl }}{{ post.image }}",
|
||||
"date" : "{{ post.date | date: '%b %-d, %Y' }}",
|
||||
"content" : "{{ post.content | strip_html | strip_newlines }}"
|
||||
} {% unless forloop.last %},{% endunless %}
|
||||
{% endfor %}
|
||||
]
|
||||
Reference in New Issue
Block a user