Hi! I might be missing something but why doesn’t Zola let me assign base_url to a value of an empty string. There’s no need for the relative or absolute links to contain the domain name, the browser adds them automatically. If I click <a href="/archive">Archive</a>
link on website myblog.com
the browser automatically sends me to myblog.com/archive
.
Currently Zola hardcodes all links with the full domain (mywebsiteurl.com/path
instead of /path). This makes testing a lot harder, and you can’t access the website with IP address (important mostly when testing, or when the domain stops working etc). I can’t see a single good reason for this. base_url = “/” doesn’t work either because then links start with “//myurl”
Should I create a Github issue or is there something I’m missing? Thanks!