The legislature shall provide for a uniform system of common schools, by which a school shall be established and maintained in each school district at least six months in every year, and any school district which shall allow instruction of a sectarian character therein may be deprived of its proportion of the interest of the public school fund during such neglect or infraction, and the legislature may pass such laws as will tend to secure a general attendance of the children in each school district upon said public schools.