edit home post and show-post