At the top of the index page (and most pages) is a line that says
Code:
define('THIS_SCRIPT', 'index');
(it's unique for every page). So, if you want to check for that page in a template, you would write
Code:
<if condition="THIS_SCRIPT=='index'">
Some useful articles (the whole articles section is great!):
https://vborg.vbsupport.ru/showthread.php?t=98047
https://vborg.vbsupport.ru/showthread.php?t=98009