there's an example of how to do this in the canonical link, which is in page.html in the manual directory.