refactor show blog view