For this recipe, you will fill your cookies with jam before baking. Heating the jam while the cookies bake helps it to gel and set up firmly as the cookies cool.