rails : how to conditionally assign tag in haml – SEO
I'd like to add same content but assign a different tag in haml for the sake of SEO. More specifically, I want the header to be <h1> in PostsController#index but to be <p> on other pages so I try to…