Display custom contact dashboard only to certain Contact subtypes
Might just be a typo but you need == instead of =.
{if $contact.contact_sub_type == 'Student'}
But contact_sub_type is an array, so you could foreach over it and check if one of the values is Student.