Fix error on next post card

Fixed bug where next post card appeared in other templates