Make renderBreadcrumbs work without parameters.
Make renderEditLink work without parameters.
Add renderCanonical as a function to replace code in _main.php.