grouping posts by date on the front page