We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4b92aad commit 5ceac87Copy full SHA for 5ceac87
1 file changed
assets/js/data/search.json
@@ -10,9 +10,9 @@ layout: compress
10
"categories": "{{ post.categories | join: ', '}}",
11
"tags": "{{ post.tags | join: ', ' }}",
12
"date": "{{ post.date }}",
13
- {% assign content = post.content %}
+ {% assign _content = post.content %}
14
{% include no-linenos.html %}
15
- "snippet": "{{ content | strip_html | strip_newlines | remove_chars | escape | truncate: 300 | replace: '\', '\\\\' }}"
+ "snippet": "{{ _content | strip_html | strip_newlines | remove_chars | escape | truncate: 300 | replace: '\', '\\\\' }}"
16
}{% unless forloop.last %},{% endunless %}
17
{% endfor %}
18
]
0 commit comments