mirror of
https://github.com/snachodog/just-the-docs.git
synced 2025-04-17 00:22:24 -06: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 }}": {
|
{% for page in site.html_pages %}{% if page.search_exclude != true %}{% if comma == true%},{% endif %}"{{ forloop.index0 }}": {
|
||||||
"title": "{{ page.title | replace: \'&\', \'&\' }}",
|
"title": "{{ page.title | replace: \'&\', \'&\' }}",
|
||||||
"content": "\'+content+\'",
|
"content": "\'+content+\'",
|
||||||
"url": "{{ page.url | absolute_url }}",
|
"url": "{{ page.url | relative_url }}",
|
||||||
"relUrl": "{{ page.url }}"
|
"relUrl": "{{ page.url }}"
|
||||||
}{% assign comma = true %}
|
}{% assign comma = true %}
|
||||||
{% endif %}{% endfor %}
|
{% endif %}{% endfor %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user