Add a function to generate relative URLs.
Add a function to generate relative URLs.