In the uk, you are a minor while at school ie 16 yrs or under. Your circumstances and the school's response will be discussed and agreed on an individual basis with the involvement of any additional relevant agencies eg social services. It is frequently the case that the new mother attends lessons at home or in a small special unit by mutual agreement.