made the navbar in post pages