Fix post search

This commit is contained in:
Hongchang Wu 2016-12-30 13:45:23 -05:00
parent e4ed2d864d
commit 93e81b9d3f

View File

@ -24,7 +24,7 @@ search: exclude
"title": "{{ post.title | escape }}", "title": "{{ post.title | escape }}",
"tags": "{{ post.tags }}", "tags": "{{ post.tags }}",
"keywords": "{{post.keywords}}", "keywords": "{{post.keywords}}",
"url": "{{ post.url }}", "url": "{{ post.url | remove: "/" }}",
"summary": "{{post.summary | strip }}" "summary": "{{post.summary | strip }}"
} }
{% unless forloop.last %},{% endunless %} {% unless forloop.last %},{% endunless %}