Did you allow your baby to eat his first birthday cake?

I know we arent supposed to have them eat sugar, so he cant have some of his cake too?:(

How do you all completely avoid sugar for babes? I mean, my son is 10 months right now and though I do ccook for him, sometimes I have gotten him baby food and it does have sugar . How can we completely avoid sugar and salt like they tell us to do?