If Statement For Url

Highlighted
New Contributor

How would I create an if statement for "If Page Is The Blog Index"?  I have no idea what conditions to hook into and hubspot does not list them at all.   What I basically want to do on the blog index page is:

 

{% if not simple_list_page %}

 

{% if page is the main /blog index page %}  <--THIS IS WHERE I'M LOST.  I CAN'T FIND ANYTHING ON HOW DO TO THIS ANYWHERE.

 

Do stuff for the main /blog index page.

 

{% else %}

Do stuff for all other not-simple listing pages..

{% endif %}

 

{% else %}

Do stuff for simple listing.

 

{% endif %}

 

Somebody throw me a bone, eh?

 

 

Reply
0 Upvotes
1 Reply 1
New Contributor

Bumping this because no answers....

Reply
0 Upvotes