Ernest “Smokey” Smith was the last living Canadian recipient of the hallowed Victoria Cross.

The British Columbia native won the medal for action on a rainy night in October 1944 on Italy’s Savio River.

Smith — armed with just a Tommy gun and an anti-tank gun — single-handedly knocked out a Panzer tank, killed a slew of Nazis, held off a force of 30 more while protecting a wounded comrade.

But if Smith looked at Google today, he would surely be rolling in his grave.

Under the search subject “Canadian soldier,” the crusty war hero would have found himself in the company of … Omar Khadr.

Khadr — who famously received $10 million from the Canadian government for being tortured in Guantanamo Bay — was a member of al-Qaida and admitted killing an American medic in Afghanistan.

Social media lit up in full-throated, red-faced rage.

Joining the chorus was Opposition leader Andrew Scheer.

He tweeted: “Omar Khadr is a convicted terrorist who murdered a medic and blinded another. He is not a victim, nor should he be portrayed in this way alongside real Canadian heroes. @googlecanada: fix this.”

Jennifer Yap tweeted: “Thank you for bringing the matter to the attention of @googlecanada. Omar Khadr is definitely no hero. He is a felon & a murderer and should have remained in prison.”

Later in the day, Google appeared to have changed things.

Back were Nathan Cirillo, Billy Bishop, Tommy Prince and Nichola Goddard. Khadr was gone.

But, of course, Scheer was lambasted by the left. Khadr blistered by the right.

And as usual, tweeters appeared to know everything about everything there ever was to know.

However, left-wing New Brunswick academic Matthew Sears smoked a curveball with his indignant response.

He tweeted: “Given that it’s the 2nd anniversary of the Quebec mosque massacre when 6 Muslims were killed while worshipping by a white supremacist, and that @AndrewScheer is drumming up anti-Muslim fear by fixating on *child soldier* Omar Khadr, I’m gonna repost this. Name it and shame it.”