From 93e81b9d3f01257e2a72635bc8042a2d19d9a966 Mon Sep 17 00:00:00 2001 From: Hongchang Wu Date: Fri, 30 Dec 2016 13:45:23 -0500 Subject: [PATCH] Fix post search --- search.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/search.json b/search.json index b61ffb72d..a7f7dd0fe 100644 --- a/search.json +++ b/search.json @@ -24,7 +24,7 @@ search: exclude "title": "{{ post.title | escape }}", "tags": "{{ post.tags }}", "keywords": "{{post.keywords}}", -"url": "{{ post.url }}", +"url": "{{ post.url | remove: "/" }}", "summary": "{{post.summary | strip }}" } {% unless forloop.last %},{% endunless %}