The directory is under /home/hugo/ and the config.toml has the following config
contentDir = “content/en”
from inside the /home/hugo directory ran hugo as follow
hugo serve --bind=192.168.1.5 --baseURL=http://192.168.1.5 -p 8080 --disableFastRender --navigateToChanged --ignoreCache --buildFuture
it all works fine but is it possible to link (via HREF) to a file that is outside /home/hugo ? in my case there is a file called README.md that
reside under /home/friendsite
You can have as many content dirs as you want, and as long as the mount is defined in the main project, it can point anywhere on the file system, e.g. “/home/foo/bar”.
To understand the full powers of mounts in Hugo (which I think is a pretty unique thing for Hugo, esp. considering the recursiveness and that you can mount folders on GitHub etc.), I think it’s important to read the documentation and esp. understand the relationship between the mount target and the different component types in Hugo (static, content etc.)