I am setting up a blog with a static front page (name: Front Page, slug: front-page) and the blog on a page named "Blog" with the slug "blog".
What I want to do is have my site title be inside and h1 element when the page is post listing such as /blog, but then be inside and h6 element when it it is a page, single post, etc.
Right now my condition looks as follows:
<?php if ( is_page( 'blog' ) ) : ?>
<h1>POST LISTING</h1>
<?php else : ?>
<h1>NOT POST LISTING</h1>
<?php endif; ?>
When I pull the sit up, everything displays the NOT POST LISTING text, even /blog.
What am I missing?