I read that if I put a literal url that begins with https://… as the url to a menu entry, then it will actually appear that way in the generated site and NOT use the baseURL.
But, this seems to be untrue. Here is a menu entry:
[[menu.nav]]
name = "Travelogues"
url = "https://a-view.org"
The baseURL is: baseURL = "https://lewislevin-com.onrender.com"
The links on the menu appear as:
https://lewislevin-com.onrender.com/https://a-view.org/
This makes no sense. Either the documentation is wrong or the code does something that makes little sense. There ought to be a rule that if a url variable value begins with “https://” that it is meant to be taken literally–right or wrong. A url that begins with a “/” or text must be relative to the baseURL.
Here is what I read in the docs:
If the value used for
URL
in the above example ishttps://subdomain.example.com/
, the output will behttps://subdomain.example.com
.
The docs describe behavior that makes sense. But, it doesn’t seem to work that way…