Open
Description
With the host and origin options provided (#180, #42), we can derive the page’s canonical URL (which is a good thing to have on static websites that might be served under different circumstances). Maybe a good idea in that case to automatically add the corresponding link[rel=canonical].
To determine this URL we also need to know the page’s path; this can be done if head is a function that receives the path as an argument (see #1161).