create post and category partials, setup post actions.