CMS Development

Lorddemos90
Member

If Statement For Url

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?

 

 

0 Upvotes
1 Reply 1
Lorddemos90
Member

If Statement For Url

Bumping this because no answers....

0 Upvotes