Make back button at bottom of posts conditional