https://smittenkitchen.com/2008/12/gramercy-taverns-gingerbread/
Grease the pan(s) with vegetable shortening, coat with granulated sugar, and remove from pan when they first come out of the oven. These things are sticky but delicious, and worth the struggle