Update layout classes and add post format logic to single and home page views.