added navbar and footer to post layout