HTC One recommended Cyanogenmod ROM?
Go here and follow the steps: Official CyanogenMod thread for HTC One

Download latest version from here: Official CyanogenMod downloads for HTC One

Regarding your problem, getting stuck in a bootloop may mean that you forgot to flash the kernel(boot.img) or didn't flash it properly. Do that again.