I don't know the details on this Catholic town trying to ban porn and condoms but honestly I can see arguments either way for whether or not that sort of law/ordinance should be legal to make. On the one hand, this is a planned community with a specific purpose so it only makes sense that that should (within reason) be able to set up any sort of laws they want. If you don't like it, don't move there. On the other hand, letting towns make these sorts of rules could set a bad precedent. What happens if that sort of law gets passed in a much larger town that grew up organically (and thus is full of people who are already established there and didn't sign up to live according to the rules of some group they have no affiliation with?).
Honestly, I don't much care for these sorts of special interest communities anyway. Isolating yourself from society so you can live in your own little echo chamber and never have to hear someone who disagrees with you rarely ends well.