mirror of
https://github.com/jekyll/jekyll.git
synced 2026-01-30 01:08:26 -05:00
@@ -419,7 +419,7 @@ module Jekyll
|
||||
end
|
||||
|
||||
def has_yaml_header?(file)
|
||||
!!(File.open(file, "rb").read =~ /\A---\r?\n/)
|
||||
!!(File.open(file, "rb").read(5) =~ /\A---\r?\n/)
|
||||
end
|
||||
|
||||
def limit_posts!
|
||||
|
||||
Reference in New Issue
Block a user