We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8134209 commit 6774e0eCopy full SHA for 6774e0e
assets/js/data/search.json
@@ -12,7 +12,9 @@ swcache: true
12
"tags": {{ post.tags | join: ', ' | jsonify }},
13
"date": "{{ post.date }}",
14
{% include no-linenos.html content=post.content %}
15
- "snippet": {{ content | strip_html | strip_newlines | truncate: 200 | jsonify }}
+ {% assign _content = content | strip_html | strip_newlines %}
16
+ "snippet": {{ _content | truncate: 200 | jsonify }},
17
+ "content": {{ _content | jsonify }}
18
}{% unless forloop.last %},{% endunless %}
19
{% endfor %}
20
]
0 commit comments