updated with additional layout and haml + liquid example