Upgrading beautifulhugo to v5: Fixing the Hugo Modules Import Path

Why hugo mod get -u stayed on an old version, and how I moved my layout overrides to the v5 structure

I decided to update the Hugo theme beautifulhugo and started the work. This repository managed the theme with Hugo Modules. In short, hugo mod get -u did not reach the latest version because the import path lacked /v5, and once I moved to v5 I also had to move the site’s layout overrides to the new structure. It did not update to the latest version When I ran hugo mod get -u, it failed with the following error because the shallow clone in the module cache was broken. [Read More]
Categories: Hugo  Tags: beautifulhugo  theme  Hugo Modules