With the couple of themes I had used before, most of the static content such as css
, js
and images, was referenced relative to baseURL
. This allows to set a baseURL
which is not the root of a domain, but a subdir, for example: mydomain.com/asite
.
When I tried a different one, I realized that images where read relative to the root, i.e. the domain, no matter if a subdir was specified in baseURL
. I asked the maintainer to change it, but when discussing about it we realized that there seems to be no convention:
- Some take everything relative to the domain.
- Some take everything relative to baseURL.
- Some take everything relative to baseURL, except favicon and, maybe, images.
You can see the details here: https://github.com/halogenica/beautifulhugo/issues/26#issuecomment-285852628
Therefore Iād like to ask whether there is any convention on this topic, which might be not easy enough to find. Or if itās something you just havenāt considered it before.