Skip to content

Commit

Permalink
Merge pull request jekyll#4948 from pathawks/drops
Browse files Browse the repository at this point in the history
Merge pull request 4948
  • Loading branch information
jekyllbot committed May 26, 2016
2 parents 632f3fd + 30eebaf commit 8a5148f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ AllCops:
- lib/jekyll/convertible.rb
- lib/jekyll/deprecator.rb
- lib/jekyll/document.rb
- lib/jekyll/drops/site_drop.rb
- lib/jekyll/filters.rb
- lib/jekyll/frontmatter_defaults.rb
- lib/jekyll/reader.rb
Expand Down
4 changes: 3 additions & 1 deletion lib/jekyll/drops/site_drop.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ def posts
end

def html_pages
@site_html_pages ||= @obj.pages.select { |page| page.html? || page.url.end_with?("/") }
@site_html_pages ||= @obj.pages.select do |page|
page.html? || page.url.end_with?("/")
end
end

def collections
Expand Down

0 comments on commit 8a5148f

Please sign in to comment.