make page.date optional for pages that use the post layout