sorted post and basic layout of post page defined