Skip to content
Snippets Groups Projects
Commit 88759c1c authored by marksie1988's avatar marksie1988
Browse files

:star: change to relative_url

parent d7050b3f
No related branches found
No related tags found
No related merge requests found
......@@ -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 %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment