Skip to content

Commit

Permalink
🔧 mistake in excerpt (mmistakes#1354)
Browse files Browse the repository at this point in the history
  • Loading branch information
nickgarlis authored and mmistakes committed Nov 20, 2017
1 parent f2f8d10 commit 819f5e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/js/lunr-en.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 819f5e6

Please sign in to comment.