fix draft filename processing
This commit is contained in:
parent
78831d94cd
commit
2588d681c9
|
@ -24,7 +24,7 @@ module Jekyll
|
|||
#
|
||||
# Returns nothing.
|
||||
def process(name)
|
||||
slug, ext = *name.match(MATCHER)
|
||||
m, slug, ext = *name.match(MATCHER)
|
||||
self.date = File.mtime(File.join(@base, name))
|
||||
self.slug = slug
|
||||
self.ext = ext
|
||||
|
|
Loading…
Reference in New Issue