duplicated from fix #80 
the same error in Version 2.0.7
fix with same procedure
This commit is contained in:
websTTer 2019-09-12 08:30:29 +02:00 committed by GitHub
parent 8bd2da55fe
commit d3e97d31fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -14,8 +14,8 @@ namespace :search do
{ {
{% assign comma = false %} {% assign comma = false %}
{% 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 | absolute_url }}",
"relUrl": "{{ page.url }}" "relUrl": "{{ page.url }}"
}{% assign comma = true %} }{% assign comma = true %}