Skip to content
This repository was archived by the owner on Apr 18, 2023. It is now read-only.

Commit 725513e

Browse files
committed
Enable full-text search (fix cotes2020#401)
1 parent 9c87348 commit 725513e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

assets/js/data/search.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ layout: compress
1111
"tags": "{{ post.tags | join: ', ' }}",
1212
"date": "{{ post.date }}",
1313
{% include no-linenos.html content=post.content %}
14-
"snippet": "{{ content | strip_html | strip_newlines | remove_chars | escape | truncate: 300 | replace: '\', '\\\\' }}"
14+
"snippet": "{{ content | strip_html | strip_newlines | remove_chars | escape | replace: '\', '\\\\' }}"
1515
}{% unless forloop.last %},{% endunless %}
1616
{% endfor %}
1717
]

0 commit comments

Comments
 (0)