Beijing has its medals. Canada has its metals. A Toronto-based mining company stepped to the podium this week to announce a shiny set of earnings. 

Yamana Gold (NYSE:AUY) reports that second-quarter revenue increased 83% from the prior year to $337 million, while adjusted earnings improved 34% to $103 million.

Yamana produced more than 250,000 gold-equivalent ounces on the strength of robust production from the flagship Chapada Mine in Brazil. Combined with its low cost structure, it's no wonder fellow Fool Toby Shute chose Yamana as his best stock for 2008. Despite being down 18% on the year, I still think his pick is a great call for the long haul.

Interestingly, Yamana's shares are trading right where they did in November 2006, when gold sold for about $640 per ounce -- more than $200 less than the current spot price. Given the improved strength of the business and its prospects, that seems silly.

Along with fellow intermediate gold producers Kinross Gold (NYSE:KGC) and Agnico-Eagle Mines (NYSE:AEM), Yamana has ample room to grow production organically from existing reserves for years to come. Megaminers like Newmont Gold (NYSE:NEM) and Barrick Gold (NYSE:ABX), in contrast, will be under greater pressure to replace production from their aging mine portfolios. For this reason, I am standing by the midcap miners through this painful correction in gold.

Further Foolishness: