1969-1976K bikes use flanges. 1975-1978 F bikes use studs. Not sure about the 77-78K bikes or the hondamatics. However you can convert one to the other and vice versa. If you buy a kerker you will have to convert your flange head to studs, it is just a matter of knocking out the screws holding the flanges in and screwing the studs in their place.
With aftermarket exhausts, usually there is a universial rear flange mount and different brackets to mount the rear of the pipe to the frame (like with the kerkers). Mac makes different slip on mufflers that are model specific, but even still you can just adapt them. Basically with aftermarket pipes, anything can be made to fit with the appropriate brackets.
if you are looking for stock pipes here are the different basic breakdowns that are true bolt ons with no modifications:
1969-1976K 4 into 4
1975-1976F 4 into 1
1977-1978F 4 into 1
1977-1978 4 into 4