🔧 mistake in excerpt (#1354)
This commit is contained in:
parent
df2e2c23b3
commit
fa3647172d
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ var idx = lunr(function () {
|
||||||
{% for doc in docs %}
|
{% for doc in docs %}
|
||||||
idx.add({
|
idx.add({
|
||||||
title: {{ doc.title | jsonify }},
|
title: {{ doc.title | jsonify }},
|
||||||
excerpt: {{ doc.excerpt | strip_html | truncatewords: 20 | jsonify }},
|
excerpt: {{ doc.content | strip_html | truncatewords: 20 | jsonify }},
|
||||||
categories: {{ doc.categories | jsonify }},
|
categories: {{ doc.categories | jsonify }},
|
||||||
tags: {{ doc.tags | jsonify }},
|
tags: {{ doc.tags | jsonify }},
|
||||||
id: {{ count }}
|
id: {{ count }}
|
||||||
|
|
Loading…
Reference in a new issue