I have a parent page and some child pages - example: my parent page is "people" and my child pages are "billy", "tom", and "phil". I am looking for a conditional statement that I can write so
if we're on page "tom" and only on page "tom" do "something",
if not do "something else".
I thought this would work: http://pastebin.com/DSMhPi0f
But this code displays "something" on all child pages, not just on child page "tom".