ignore globs, mostly working, except with directory indexes
This commit is contained in:
parent
be6f6944ca
commit
e3b15366cb
7 changed files with 40 additions and 46 deletions
|
@ -110,7 +110,7 @@ module Middleman::CoreExtensions::FrontMatter
|
|||
# Setup ignore callback
|
||||
@app.ignore do |path|
|
||||
p = @app.sitemap.page(path)
|
||||
file_path = p.source_file.sub(@app.source_dir, "")
|
||||
file_path = p.relative_path
|
||||
|
||||
if !p.proxy? && has_data?(file_path)
|
||||
d = data(file_path)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue