Ms. Herbst said that she had the support of her family. Her wife grew up in New Hope, and the couple have lived in the town with their two daughters since 1999. “It is gender identity, not sexual preference that applies to me,” the mayor wrote. “I love my wife, and she loves me. We have no intention of change. My daughters have been adamant supporters of me and are proud to tell people their father is transgender.”