diff --git a/search.json b/search.json index a7f7dd0..88d0179 100644 --- a/search.json +++ b/search.json @@ -11,7 +11,7 @@ search: exclude "title": "{{ page.title | escape }}", "tags": "{{ page.tags }}", "keywords": "{{page.keywords}}", -"url": "{{ page.url | remove: "/"}}", +"url": "{% if site.baseurl != '/'%}{{site.baseurl}}{% endif %}{{ page.url }}", "summary": "{{page.summary | strip }}" } {% unless forloop.last and site.posts.size < 1 %},{% endunless %}