if it is comin out where the exhaust meets the head you did not blow a head gasket, your exhaust gasket could be shot, but would not let out that much oil unless your bolts were also loose. If you are sure it is only coming out where exhaust meets head what you need is a new exhaust o-ring gasket and proper torque on the nuts. At that point you can see if it fixes the problem if not you have oil coming out elsewhere.
If there is oil inside the stator side case you have bigger problems.....blown seals
If it just pushed over stator case because you were riding but came out exhaust do what I said above
If you look between head and cylinder and you have oil coming out there over the cylinder and down on the exhaust then you have a blown head gasket.