🔧 mistake in excerpt (#1354)

This commit is contained in:
Nick Garlis 2017-11-20 22:00:07 +02:00 committed by Michael Rose
parent df2e2c23b3
commit fa3647172d

View file

@ -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 }}