mirror of
https://github.com/jekyll/jekyll.git
synced 2026-02-01 10:15:03 -05:00
basename deleted
This commit is contained in:
@@ -9,7 +9,7 @@ module Jekyll
|
||||
end
|
||||
|
||||
def self.pagination_enabled?(config, file)
|
||||
File.basename(file) == 'index.html' && !config['paginate'].nil?
|
||||
file == 'index.html' && !config['paginate'].nil?
|
||||
end
|
||||
|
||||
def initialize(config, page, all_posts, num_pages = nil)
|
||||
|
||||
Reference in New Issue
Block a user