Topological Weaire-Thorpe models of amorphous matter