From 88759c1cf7b86796ae103c353ffea2261c31c099 Mon Sep 17 00:00:00 2001 From: marksie1988 Date: Fri, 26 Jun 2020 11:41:50 +0100 Subject: [PATCH] :star: change to relative_url --- lib/tasks/search.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 %}