Fill thumbprints with jam before baking. These cookies are only small without a large quantity of jam in each, therefore the shortbread doesn’t take long to bake. The jam won’t burn or bubble up too much in the oven during that time.