Fix 'layout: false' regression.

Setting layout to false for posts and pages should omit rendering any layout.