mirror of
https://github.com/twbs/bootstrap.git
synced 2024-11-29 11:24:18 +01:00
Merge pull request #18432 from twbs/v4-dev-xmr-jekyll-search
Fix docs/search.json.
This commit is contained in:
commit
e7a9a88c3c
@ -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 %}
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user