I'm not sure you can use controls in WebMatrix.
Anyway, maybe you can accomplish your task with the use of sections.
If you add the row
@RenderSection("otherlinks", required: false)
in the head of your site layout page and
@section otherlinks {
<link rel="canonical" href="@App.PathHome" />
}
in your child page, the resulting page should work.