Also test frontmatter options in preview mode (exposed proxy bug, which was fixed
This commit is contained in:
parent
7282475350
commit
34e40cbe01
2 changed files with 21 additions and 3 deletions
|
@ -112,9 +112,10 @@ module Middleman::CoreExtensions::FrontMatter
|
|||
p = @app.sitemap.page(path)
|
||||
file_path = p.source_file.sub(@app.source_dir, "")
|
||||
|
||||
if has_data?(file_path)
|
||||
if !p.proxy? && has_data?(file_path)
|
||||
d = data(file_path)
|
||||
if d && d[0]
|
||||
$stderr.puts "Should ignore #{path}", p.source_file
|
||||
d[0].has_key?("ignored") && d[0]["ignored"] == true
|
||||
else
|
||||
false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue