Oops - the change to the frontmatter regex broke it somehow. This reverts that change (but also reigns in the file_deleted hook).
This commit is contained in:
parent
17e3735d44
commit
1b330e7a27
1 changed files with 3 additions and 3 deletions
|
@ -17,7 +17,7 @@ module Middleman::CoreExtensions::FrontMatter
|
||||||
frontmatter.touch_file(file)
|
frontmatter.touch_file(file)
|
||||||
end
|
end
|
||||||
|
|
||||||
file_deleted do |file|
|
file_deleted FrontMatter.matcher do |file|
|
||||||
frontmatter.remove_file(file)
|
frontmatter.remove_file(file)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -52,7 +52,7 @@ module Middleman::CoreExtensions::FrontMatter
|
||||||
class FrontMatter
|
class FrontMatter
|
||||||
class << self
|
class << self
|
||||||
def matcher
|
def matcher
|
||||||
%r{^source/.*\.html}
|
%r{source/.*\.html}
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue