Layout bug fix for page.date