From 392be39c7dfb660dae3ad9b791ebee8ab40f61fa Mon Sep 17 00:00:00 2001 From: probonopd Date: Fri, 4 Jan 2019 12:50:40 +0000 Subject: [PATCH] Absolute URL and category [ci skip] --- search.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/search.json b/search.json index 2468c190..57dbcb04 100644 --- a/search.json +++ b/search.json @@ -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 %}