mirror of https://github.com/thangisme/notes.git
parent
8bd2da55fe
commit
d3e97d31fa
|
@ -14,8 +14,8 @@ namespace :search do
|
|||
{
|
||||
{% assign comma = false %}
|
||||
{% for page in site.html_pages %}{% if page.search_exclude != true %}{% if comma == true%},{% endif %}"{{ forloop.index0 }}": {
|
||||
"title": "{{ page.title | replace: '&', '&' }}",
|
||||
"content": "'+content+'",
|
||||
"title": "{{ page.title | replace: \'&\', \'&\' }}",
|
||||
"content": "\'+content+\'",
|
||||
"url": "{{ page.url | absolute_url }}",
|
||||
"relUrl": "{{ page.url }}"
|
||||
}{% assign comma = true %}
|
||||
|
|
Loading…
Reference in New Issue