Skip to content

Commit

Permalink
Fixed deprecation warning for the docs array
Browse files Browse the repository at this point in the history
  • Loading branch information
jimcavoli committed Nov 26, 2015
1 parent e967c6d commit 895a212
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/jekyll-autolink_email.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def initialize(config)
def generate(site)
@site = site
site.pages.each { |page| autolinkify page if page.html?}
site.posts.each { |page| autolinkify page }
site.posts.docs.each { |page| autolinkify page }
end

private
Expand Down

0 comments on commit 895a212

Please sign in to comment.