When I want to use join a path like “https://github.com/someone/some-project” and “blob/master”, the result is like “https:/github.com/someone/some-project/blob/master”.
I guess path.Join just removes repeated slashes? So it will get a wrong result when a prefix like https:// or http:// exists. And can we adapt it so that it can behave well when those prefix exists? Or I just used the wrong method?
A path is a local path, not an URL. That’s probably the error in thought. I would do something along the lines of `printf ("%s%s" .Site.baseURL “/blob/master”)