some code from post/show.html moved to partials