Refactor footer for posts