Need help understanding url conversions

@JoeWeb, you have to realize that what is an absolute in the source of the hugo site will be translated by hugo to be different in the final static output.

This confuses the heck out of me…

  • an image reference in content (e.g. posts/something.md):
    • /images/x.png becomes: $baseurl/images/x.png or /images/x.png or …/…/images/x.png depending on the setting for absolute urls, or relative urls (AFAIK; I didn’t test this particular example)
    • images/x.png becomes: ??? a reference to /posts/something/images/x.png? or ${baseurl}images/x.png (which will break depending on whether $baseurl contains a trailing /

There are probably other situations that turn out differently

/Simon