forked from dentarg/auth0-blog
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsearch.json
25 lines (25 loc) · 811 Bytes
/
search.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
---
layout: null
sitemap:
exclude: 'yes'
---
[
{% for post in site.posts %}
{
"title" : "{{ post.title | escape }}",
"description" : "{{ post.description | escape }}",
"author_name" : "{{ post.author.name }}",
"author_avatar" : "{{ post.author.avatar }}",
"author_url" : "{{ post.author.url }}",
"tags" : "{{ post.tags | first }}",
"url" : "{{ post.url }}",
"keyword" : "{{ post.content | strip_html | strip_newlines | rake_text }}",
{% if post.design.image %}
"image" : "{{ post.design.image }}",
{% else %}
"image" : "{{ post.design.image_default }}",
{% endif %}
"date" : "{{ post.date | date: "%B %d, %Y" }}"
} {% unless forloop.last %},{% endunless %}
{% endfor %}
]