refactor posts controller
replace part of code to application (about html and css)
update _post.html.erb