updated homepage and posts page