Per the link, food is up 3.1% and everything else 2.9%. So energy pulled inflation up from about 3% to about 4%, but that's not "all of the increase"
But if you look at the sibling comment, all of that came from "Food away from home ". In other words, it's all because of takeout/restaurants, not groceries. Those were actually dragging inflation down.