mirror of
https://github.com/vale981/metalsmith-layouts
synced 2025-03-04 17:21:37 -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){
|
render(str, clone, function(err, str){
|
||||||
if (err) {
|
if (err) {
|
||||||
err.message = "Error rendering template `" + data.layout + "` for file `"
|
err.message = "Error rendering template `" + data[layoutKey] + "` for file `"
|
||||||
+ file + "`. " + err;
|
+ file + "`. " + err;
|
||||||
return done(err);
|
return done(err);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue