modifying posts index and single