Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
If Statement For Blog Index
Member
Feb 26, 2018 5:41 PM
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content