Added basic function for blog view