Show partial unless page has specific class

I want to show my tagline partials unless it is one the home page. The page_home class is being added to the home page successfully but the partial is still being shown.

<%= partial 'partials/tagline' unless page_classes.include? 'page_home'  %>

<%= partial 'partials/tagline' unless page_classes.include?('page_home') %>

but first I would try to print what classes there are
<%= page_classes %>