mirror of
https://github.com/vale981/metalsmith-layouts
synced 2025-03-04 09:11:38 -05:00
Fix Error MSG
This commit is contained in:
parent
bcf9d4ae3d
commit
141bfd7b14
1 changed files with 1 additions and 1 deletions
|
@ -163,7 +163,7 @@ function plugin(opts){
|
|||
|
||||
render(str, clone, function(err, str){
|
||||
if (err) {
|
||||
err.message = "Error rendering template `" + data.layout + "` for file `"
|
||||
err.message = "Error rendering template `" + data[layoutKey] + "` for file `"
|
||||
+ file + "`. " + err;
|
||||
return done(err);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue