Absolute URL and category

[ci skip]
This commit is contained in:
probonopd authored and GitHub committed 2019-01-04 12:50:40 +00:00
1 parent 49c97f5365
commit 392be39c7d
1 file changed
+2 -2
+2 -2
View File
@@ -8,9 +8,9 @@ layout: null
{% for post in sorted %}
{
"title" : {% if post.title %}{{ post.title | jsonify }}{% else %}{{ post.name | remove: ".md" | jsonify }}{% endif %},
"category" : "{{ post.category }}",
"category" : "{{ post.desktop["Desktop Entry"].Categories }}",
"tags" : "{{ post.tags | join: ', ' }}",
"url" : "{{ site.baseurl }}{{ post.url }}",
"url" : "{{ site.url }}{{ site.baseurl }}{{ post.url }}",
"date" : "{{ post.date }}"
} {% unless forloop.last %},{% endunless %}
{% endfor %}