modify layout of posts, only show posts that are published before today