Blogpost style display logic now uses switch statement instead of if.