From 506cdc5179aacedbc7903e424a45af31acc2c57f Mon Sep 17 00:00:00 2001 From: "maul.esel" Date: Sun, 18 Aug 2013 17:08:42 +0200 Subject: [PATCH] include: more helpful error message for symlinks --- lib/jekyll/tags/include.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/jekyll/tags/include.rb b/lib/jekyll/tags/include.rb index 29f69296..74858b0a 100644 --- a/lib/jekyll/tags/include.rb +++ b/lib/jekyll/tags/include.rb @@ -75,7 +75,7 @@ eos if !File.exists?(file) return "Included file #{@file} not found in _includes directory" elsif File.symlink?(file) - return "Symlink #{@file} must not be included" + return "The included file '_includes/#{@file}' should not be a symlink" end end end