fixed post view and doc tags in templates