Remove nested templates and sidebar