If your taillights work and your headlights don't, sounds like you might possibly have blown the main FL, (fusible link).
You can test it by jumping across on each of the two wires. You'll find the FL off the positive side of the battery. It's a small black box with a two wire fusible link inside it. Open it and jump across from the positive side of the battery to the terminating end of each wire. The wires can look good but still have melted inside the covering.
Just a thought. Hope it helps.
John
I would not recommend doing this at all. If the fusible link is gone, there could be a problem such as a grounded wire. Taking a hot wire and bypassing the fusible link is asking for trouble. You could be taking the hot wire of the battery and unknowingly grounding it out