Skip to content

Commit

Permalink
Merge pull request #1 from philcdavis/philcdavis-patch-1
Browse files Browse the repository at this point in the history
Use item.content_markdown instead of item.content
  • Loading branch information
philcdavis authored Jan 24, 2020
2 parents 513ed00 + d6b5575 commit 78459ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion search.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ <h2>Search Results</h2>
"description": "{{item.description | xml_escape }}",
"type": "{{item.type | xml_escape}}",
"url": "{{ site.baseurl }}/#{{ item.id | replace: '/', '' | replace: '.', '' | xml_escape }}",
"content": {{ item.content | strip_html | replace_regex: "[\s/\n]+"," " | strip | jsonify }}
"content": {{ item.content_markdown | strip_html | replace_regex: "[\s/\n]+"," " | strip | jsonify }}
}
{% assign added = true %}
{% endunless %}
Expand Down

0 comments on commit 78459ab

Please sign in to comment.