Revert "Fixes the unkown 'path' variable or method in Jekyll:Layout and avoids future interference with Jekyll API updates"

This reverts commit 006608055395681daa7cdca3fb33212197718c7a.
manually applying the fix for layouts in jekyll 2.3+