+++ date = "2023-05-09T23:59:26+00:00" lastmod = "2023-05-09T23:59:26+00:00" tags = [ "webdev"] author = "tdro" +++ When making [hugo](https://gohugo.io/) themes, it's probably better defaulting to [absURL](https://gohugo.io/functions/absurl/) and [relURL](https://gohugo.io/functions/relurl/) over [baseURL](https://gohugo.io/variables/site/#site-variables-list) for links. It avoids most breakage on links that depend on a base and more easily allows multilingual support with [absLangURL](https://gohugo.io/functions/abslangurl/). However realistically (for anything), interpretations of file, directory/, absoluteness, and relativity are varied. Testing artifacts for ≈ 100% internal/self linking consistency, under different conditions, and after every code change is better time spent debugging. Sub directories are exceptional cases... even now some of my links are broken except that my web server automatically fixes common mistakes (: