From 4cc9f6b77ee80167850c6cbe8f3e90529c0ad351 Mon Sep 17 00:00:00 2001 From: Nick Garlis Date: Mon, 20 Nov 2017 22:00:07 +0200 Subject: [PATCH] :wrench: mistake in excerpt (#1354) --- assets/js/lunr-en.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/lunr-en.js b/assets/js/lunr-en.js index bfafdaef4942..a8db98305c2e 100644 --- a/assets/js/lunr-en.js +++ b/assets/js/lunr-en.js @@ -15,7 +15,7 @@ var idx = lunr(function () { {% for doc in docs %} idx.add({ title: {{ doc.title | jsonify }}, - excerpt: {{ doc.excerpt | strip_html | truncatewords: 20 | jsonify }}, + excerpt: {{ doc.content | strip_html | truncatewords: 20 | jsonify }}, categories: {{ doc.categories | jsonify }}, tags: {{ doc.tags | jsonify }}, id: {{ count }}