mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-02 16:04:07 +03:00
Merge pull request #18432 from twbs/v4-dev-xmr-jekyll-search
Fix docs/search.json.
This commit is contained in:
+7
-5
@@ -3,11 +3,13 @@
|
||||
---
|
||||
|
||||
[
|
||||
{% for page in site.pages %}
|
||||
{% assign sorted_pages = site.html_pages | sort: 'title' %}
|
||||
{% for page in sorted_pages %}
|
||||
{% if page.title %}
|
||||
{
|
||||
"title" : "{{ page.title | escape }}",
|
||||
"url" : "{{ site.baseurl }}{{ page.url }}",
|
||||
"date" : "{{ page.date }}"
|
||||
"title" : {{ page.title | jsonify }},
|
||||
"url" : "{{ site.baseurl }}{{ page.url }}"
|
||||
} {% unless forloop.last %},{% endunless %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user