mirror of
https://github.com/thangisme/notes.git
synced 2025-01-10 08:06:41 -05:00
⭐ change to relative_url
This commit is contained in:
parent
d7050b3f04
commit
88759c1cf7
@ -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 %}
|
||||
|
Loading…
Reference in New Issue
Block a user