Heat the oven to 350°F (175°C) and line two baking sheets with parchment.
Cream the butter and sugar together until light and fluffy.
Beat in the egg yolks and vanilla until smooth.
Mix in the flour and salt until a soft dough forms.
Roll the dough into 1-inch balls and set them on the sheets.
Press your thumb into the center of each ball to make a well.
Spoon about 1/2 teaspoon of jam into each well.
Bake for 12 to 14 minutes until the edges turn golden.