duplicated from fix #80 
the same error in Version 2.0.7
fix with same procedure
pull/1/head
websTTer 3 years ago committed by GitHub
parent 8bd2da55fe
commit d3e97d31fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      lib/tasks/search.rake

@ -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…
Cancel
Save