Add header and footer for posts