refactor the blog layout