From c3ec158f2d162f893139445893ac6ef5099c53dc Mon Sep 17 00:00:00 2001 From: Alfred Xing Date: Thu, 11 Sep 2014 18:25:21 -0700 Subject: [PATCH] Keep backwards compatibility Re-add `relative_path` Liquid variable too keep compatibility --- lib/jekyll/document.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/jekyll/document.rb b/lib/jekyll/document.rb index f7eb9569..6fe63c34 100644 --- a/lib/jekyll/document.rb +++ b/lib/jekyll/document.rb @@ -232,6 +232,7 @@ module Jekyll Utils.deep_merge_hashes data, { "output" => output, "content" => content, + "relative_path" => relative_path, "path" => relative_path, "url" => url, "collection" => collection.label