forked from elkarte/addons
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
34 lines (34 loc) · 1.4 KB
/
package.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
26
27
28
29
30
31
32
33
34
---
---
{
{% for category in site.categories %}
"{{ category[0] }}" : [
{% for posts in category %}
{% for post in posts %}
{% if post.title %}
{
"pkid" : {% if post.pkid %}"{{ post.pkid }}"{% else %}""{% endif %},
"title" : "{{ post.title | strip_html }}",
"category" : "{{ post.category }}",
"short" : "{{ post.short | strip_html }}",
"author" : "{{ post.author | strip_html }}",
"version" : "{{ post.version }}",
"date" : "{{ post.date | strip_html }}",
"allhooks" : "{{ post.allhooks }}",
"elkversion" : "{{ post.elkversion }}",
"license" : {% if post.license %}"{{ post.license }}"{% else %}""{% endif %},
"server" : [
{
"url" : "{{ site:baseurl }}{{ post.url }}",
"download" : "{{ post.download }}",
"bugs" : {% if post.bugs %}"{{ post.bugs }}"{% else %}""{% endif %},
"support" : {% if post.support %}"{{ post.support }}"{% else %}""{% endif %}
}
]
} {% unless forloop.last %},{% endunless %}
{% endif %}
{% endfor %}
{% endfor %}
] {% unless forloop.last %},{% endunless %}
{% endfor %}
}