1
0
mirror of https://github.com/thangisme/notes.git synced 2024-10-02 02:56:06 -04:00

Dont unesape this or it wont read the content var

This commit is contained in:
Patrick Marsceill 2019-02-02 11:46:46 -08:00
parent 84f8f003ac
commit 01b500b1b3
No known key found for this signature in database
GPG Key ID: 286B93882D828F40

View File

@ -15,7 +15,7 @@ namespace :search do
{% for page in site.html_pages %}{% if page.search_exclude != true %}"{{ forloop.index0 }}": {
"id": "{{ forloop.index0 }}",
"title": "{{ page.title | replace: \'&\', \'&\' }}",
"content": "\'+content+\'",
"content": "'+content+'",
"url": "{{ page.url | absolute_url }}",
"relUrl": "{{ page.url }}"
}{% unless forloop.last %},{% endunless %}