From 5142467ce2a1d856512b4cd19a6a0d33df37e97f Mon Sep 17 00:00:00 2001 From: Shem Date: Fri, 20 Oct 2017 16:14:43 +0300 Subject: [PATCH] Fix verbose logging of heading --- jekyll-seo.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jekyll-seo.rb b/jekyll-seo.rb index e4fb1a8..9456d6d 100755 --- a/jekyll-seo.rb +++ b/jekyll-seo.rb @@ -64,7 +64,7 @@ heading = this.to_s.scan(/#{options[:keyword]}/i) if options[:verbose] - puts "heading-found: #{title}" + puts "heading-found: #{heading}" end end @@ -128,4 +128,4 @@ #The meta description contains the primary keyword / phrase. #There are 890 words contained in the body copy, this is greater than the 300 word recommended minimum. #The page title is more than 40 characters and less than the recommended 70 character limit. -#The keyword appears in the first paragraph of the copy. \ No newline at end of file +#The keyword appears in the first paragraph of the copy.