Jam sandwich cookies are shortbread cookies made with butter and all purpose flour. Linzer cookies feature a combination of all purpose flour and almond flour with a bit of cinnamon. Both have jam sandwiched in the center.