refactor views.blog