menu template improved with n:attr