Per the article, the father of the baby does not and never has attended the school.  They can't punish him for violating the code if he's not a student.  They can punish her.  I hope that now they've had this situation arise and realized they didn't handle it well, they'll think ahead and determine that if the male involved is a student that the consequences will be equal.