diff --git a/lib/tasks/search.rake b/lib/tasks/search.rake index 5c03790..1bc762c 100644 --- a/lib/tasks/search.rake +++ b/lib/tasks/search.rake @@ -16,7 +16,7 @@ namespace :search do {% for page in site.html_pages %}{% if page.search_exclude != true %}{% if comma == true%},{% endif %}"{{ forloop.index0 }}": { "title": "{{ page.title | replace: \'&\', \'&\' }}", "content": "\'+content+\'", - "url": "{{ page.url | absolute_url }}", + "url": "{{ page.url | relative_url }}", "relUrl": "{{ page.url }}" }{% assign comma = true %} {% endif %}{% endfor %}