I toyed with Hugo (with docsy) about a year ago and have come back to look at it. docsy has moved on to a later version as has Hugo.
Previously I used klakegg/hugo but this is now too old for the docsy and Hugo versions I need… so I have moved to… hugomods/hugo
My site has been git inited and all the files are owned by me (a non-root user) on Ubuntu
When I run the container I get…
ERROR Failed to read Git log: fatal: detected dubious ownership in repository at ‘/src’
To add an exception for this directory, call:
git config --global --add safe.directory /src
Now I presume this is because the uid of the container is not me so when the container tries to do git commands it finds a mismatch in ownership. Is there a way around that?
I liked this way of working… my directory was SAMBA shared so I could edit the underlying files on windows.