From b1073290c48cfdd462baa164acb0d267bec8e023 Mon Sep 17 00:00:00 2001 From: Patrick Marsceill Date: Mon, 12 Jun 2017 18:45:25 -0400 Subject: [PATCH] remove that --- lib/tasks/search.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tasks/search.rake b/lib/tasks/search.rake index 6a49831..e653be8 100644 --- a/lib/tasks/search.rake +++ b/lib/tasks/search.rake @@ -3,7 +3,7 @@ namespace :search do task :init do puts 'Creating search data json file...' touch 'search-data.json' - content = %Q[{{ page.content | markdownify | strip_html | xml_escape | remove: 'Table of contents' | remove: page.title | strip_newlines | replace: '\\', ' ' }}] + content = %Q[{{ page.content | markdownify | strip_html | xml_escape | remove: 'Table of contents' | strip_newlines | replace: '\\', ' ' }}] File.open('search-data.json', 'w') do |f| f.puts '---