Original: It was the custom to bake white biscuits and paint them as window decorations.
Simplified: The custom was to bake white biscuits and paint them as window decorations.