Rubocop: lib/jekyll/drops/site_drop.rb
This commit is contained in:
parent
ff591dd5dc
commit
30eebaf5e0
|
@ -14,7 +14,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/liquid_renderer/table.rb
|
||||
|
|
|
@ -24,7 +24,9 @@ module Jekyll
|
|||
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
|
||||
|
|
Loading…
Reference in New Issue