From 6c813020c2a6c3de864c90fafbfb0ff4888d59c4 Mon Sep 17 00:00:00 2001 From: Tim Schaub Date: Sun, 1 Nov 2015 08:15:05 -0700 Subject: [PATCH] Correct error message for missing layout property --- tasks/build-examples.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/build-examples.js b/tasks/build-examples.js index 3a30c1da6e..46e81e57f5 100644 --- a/tasks/build-examples.js +++ b/tasks/build-examples.js @@ -73,7 +73,7 @@ function augmentExamples(files, metalsmith, done) { var match = filename.match(markupRegEx); if (match && filename !== 'index.html') { if (!file.layout) { - throw new Error(filename + ': Missing template in YAML front-matter'); + throw new Error(filename + ': Missing "layout" in YAML front-matter'); } var id = match[1];